gaborsimon / WeatherStation

This project is intended to provide a self-made, basic weather station based on ATMEL AVR microcontroller and HD44780 LCD display.
MIT License
0 stars 0 forks source link

Wrong LCD refresh condition #3

Closed gaborsimon closed 8 years ago

gaborsimon commented 8 years ago

File: LCDManager.c

At date refresh part the YEAR refresh condition is wrong, it depends on new month flag instead of new year flag. Replace XRTC_TIMEDATE_NEWMONTH to XRTC_TIMEDATE_NEWYEAR.