CONTROLLINO-PLC / CONTROLLINO_Library

151 stars 55 forks source link

Compilation issue for MAXI Automation. #27

Closed skibum1869 closed 5 years ago

skibum1869 commented 5 years ago

I am having a compilation issue since the 3.03 update that gives the following error.

E:\Libraries\Documents\Arduino\libraries\CONTROLLINO\Controllino.cpp: In function 'uint16_t date2days(uint16_t, uint8_t, uint8_t)':
E:\Libraries\Documents\Arduino\libraries\CONTROLLINO\Controllino.cpp:405:31: error: 'daysInMonth' was not declared in this scope
         days += pgm_read_byte(daysInMonth + i - 1);
                               ^
exit status 1
Error compiling for board CONTROLLINO MAXI Automation.
CONTROLLINO-Support commented 5 years ago

Hi! Bugfix release 3.0.4 should be available in one hour! Thanks!

skibum1869 commented 5 years ago

It is fixed. Thanks, closing issue.