fix dome daemon to print fits-header

This commit is contained in:
2026-04-01 11:08:22 +03:00
parent 7318307d4d
commit a324302404
10 changed files with 261 additions and 65 deletions

View File

@@ -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);