mirror of
https://github.com/eddyem/small_tel.git
synced 2026-05-01 18:37:07 +03:00
fix dome daemon to print fits-header
This commit is contained in:
@@ -25,6 +25,14 @@
|
||||
// dome polling interval (clear watchdog & get status)
|
||||
#define T_INTERVAL (5.0)
|
||||
|
||||
typedef struct{
|
||||
int errcode; // error code
|
||||
char status[STATBUF_SZ]; // device status
|
||||
double stattime;// time of last status
|
||||
char weather[STATBUF_SZ]; // data from weather sensor
|
||||
} dome_data_t;
|
||||
|
||||
int get_dome_data(dome_data_t *d);
|
||||
void runserver(int isunix, const char *node, int maxclients);
|
||||
void stopserver();
|
||||
void forbid_observations(int forbid);
|
||||
|
||||
Reference in New Issue
Block a user