Skip to content

Commit

Permalink
Using info instead of debug. Updated todo. Ready for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeDP committed Sep 10, 2017
1 parent 2ec7911 commit 7f9d24e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- [x] Update readme
- [x] FIXME: network with continuous disconnections can lead to lots of owm weather api calls (and battery/network usage too). Find a proper way to deal with this.
- [x] rework num_dependent -> use array of MODULES_NUM with value enum dep_type
- [ ] Double check any bug with new dependent_m
- [x] Double check any bug with new dependent_m

### Log file rework
- [x] Do not print Latitude = 0.0 Longitude = 0.0 in log file if no user position is setted
Expand Down
2 changes: 1 addition & 1 deletion src/weather.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static int get_weather(void) {

int old_cloudiness = state.cloudiness;
sscanf(strstr(buf, "\"clouds\""), "\"clouds\":{\"all\":%d}", &state.cloudiness);
DEBUG("Weather cloudiness: %d\n", state.cloudiness);
INFO("Weather cloudiness: %d.\n", state.cloudiness);
ret = old_cloudiness == state.cloudiness;

end:
Expand Down

0 comments on commit 7f9d24e

Please sign in to comment.