some fixes

This commit is contained in:
2026-04-10 15:52:55 +03:00
parent af33a036c8
commit 5acd1cd97d
3 changed files with 153 additions and 133 deletions

View File

@@ -21,10 +21,10 @@
int main() {
weather_data_t wd;
if (get_weather_data(&wd) == 0) {
if(get_weather_data(&wd) == 0){
printf("Weather: %d, Max wind: %.1f, Wind: %.1f, Temp: %.1f; updated @%zd\n",
wd.weather, wd.windmax, wd.wind, wd.exttemp, wd.last_update);
} else {
}else{
fprintf(stderr, "Failed to get weather data\n");
}
return 0;