mirror of
https://github.com/eddyem/small_tel.git
synced 2026-06-19 10:26:25 +03:00
weather check for astrosib dome daemon
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user