1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-16 19:08:08 +00:00

Add TODO.

This commit is contained in:
Thomas Harte 2023-12-07 10:08:43 -05:00
parent 83cfacc0a5
commit 0f22ee5de4

View File

@ -47,7 +47,8 @@ class RTC {
return bcd(time_date->tm_hour);
}
return
// ((time_date->tm_hour > 12) ? 0x80 : 0x00) |
// TODO: determine why GLaTICK signals an RTC fault if I enable communication of PM as below.
// ((time_date->tm_hour >= 12) ? 0x80 : 0x00) |
bcd(1 + (time_date->tm_hour + 11)%12);
break;
case 0x05: return 0; // Hours alarm