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 6f63134 + 82e8b7a commit 048db8aCopy full SHA for 048db8a
src/EdgeControl_RealTimeClock.cpp
@@ -358,7 +358,7 @@ void EdgeControl_RealTimeClockClass::setHourAlarm(uint8_t hours)
358
uint8_t dec = hours / 10;
359
uint8_t unit = hours - (dec * 10);
360
uint8_t hour_alarm = PCF8563T_HOUR_ALARM_AE_H_MASK & ((dec << 4) + unit);
361
- 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)
362
}
363
364
/**
0 commit comments