some fixes with meteo

This commit is contained in:
2022-07-04 18:05:08 +03:00
parent a00200af3c
commit 478ad21c7a
4 changed files with 197 additions and 212 deletions

View File

@@ -114,7 +114,7 @@ int main(int argc, char *argv[]){
return 1;
}
params_ans a = check_meteo_params();
DBG("chk_meteo: %d", a);
if(a != ANS_NODATA) DBG("chk_meteo: %d", a);
if(a == ANS_LOSTCONN){
LOG("Lost connection with device, reconnect!");
clear_flags();