arduino-libraries / RTCZero

RTC Library for SAMD21 based boards
http://arduino.cc/en/Reference/RTC
GNU Lesser General Public License v2.1
78 stars 78 forks source link

bug fix in setAlarmEpoch. #22

Closed bendebled closed 7 years ago

bendebled commented 7 years ago

The function setAlarmDate was not called correctly in the function setAlarmEpoch. It was called with the arguments (year, month, day) instead of (day, month, year).

This following masks work properly now:

agdl commented 7 years ago

Thank you for pointing out this!