Cleanup RV3028 comments/whitespace

pull/141/head
Phil Howard 2021-05-10 15:57:56 +01:00
rodzic 904bf657bb
commit 5ca77b6e28
3 zmienionych plików z 225 dodań i 227 usunięć

Wyświetl plik

@ -184,7 +184,6 @@ namespace pimoroni {
}
// Takes the time from the last build and uses it as the current time
//Works very well as an arduino sketch
bool RV3028::set_to_compiler_time() {
times[TIME_SECONDS] = dec_to_bcd(BUILD_SECOND);
times[TIME_MINUTES] = dec_to_bcd(BUILD_MINUTE);
@ -449,10 +448,9 @@ namespace pimoroni {
alarmTime[1] |= 1 << HOURSALM_AE_H;
if(mode & 0b100)
alarmTime[2] |= 1 << DATE_AE_WD;
//Write registers
write_multiple_registers(RV3028_MINUTES_ALM, alarmTime, 3);
//enable Alarm Interrupt
enable_alarm_interrupt();
// Clock output?