blob: b76d2ffd1d78165f6096513bc0a2073d6db6190f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/* $Id$ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#ifndef S_SPLINT_S
#include <unistd.h>
#endif /* S_SPLINT_S */
#include <stdarg.h>
#include <stdbool.h>
#include <assert.h>
#include "gpsd_config.h"
#ifdef HAVE_NCURSES_H
#include <ncurses.h>
#else
#include <curses.h>
#endif /* HAVE_NCURSES_H */
#include "gpsd.h"
#include "bits.h"
#include "gpsmon.h"
#ifdef SUPERSTAR2_ENABLE
extern const struct gps_type_t superstar2_binary;
static bool superstar2_initialize(void)
{
return true;
}
static void superstar2_update(void)
{
}
static int superstar2_command(char line[])
{
return COMMAND_UNKNOWN;
}
static void superstar2_wrap(void)
{
}
const struct monitor_object_t superstar2_mmt = {
.initialize = superstar2_initialize,
.update = superstar2_update,
.command = superstar2_command,
.wrap = superstar2_wrap,
.min_y = 20, .min_x = 80, /* size of the device window */
.driver = &superstar2_binary,
};
#endif
|