We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9617669 + ffb18f7 commit ca7ff9bCopy full SHA for ca7ff9b
src/utility/RTC/PCF8563T.cpp
@@ -347,7 +347,7 @@ void PCF8563TClass::setHourAlarm(uint8_t hours) {
347
uint8_t dec = hours / 10;
348
uint8_t unit = hours - (dec * 10);
349
uint8_t hour_alarm = PCF8563T_HOUR_ALARM_AE_H_MASK & ((dec << 4) + unit);
350
- writeByte(PCF8563T_HOURS_REG, hour_alarm); //check formula on datasheet val + 6 * (val / 10)
+ writeByte(PCF8563T_HOUR_ALARM_REG, hour_alarm); //check formula on datasheet val + 6 * (val / 10)
351
}
352
353
/**
0 commit comments