weather check for astrosib dome daemon

This commit is contained in:
2026-05-15 14:44:21 +03:00
parent e24568b0bf
commit 7e369976b5
86 changed files with 361 additions and 55 deletions

View File

@@ -309,7 +309,7 @@ void runserver(int isunix, const char *node, int maxclients){
if(bad) BadWeather = 1;
else BadWeather = 0;
}else{
if(tweather - tnow > WEATHER_LOST) BadWeather = 1; // lost weather IPC
if(tnow - tweather > WEATHER_LOST) BadWeather = 1; // lost weather IPC
}
if(poll_device()){
tgot = tnow;