CMOS: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Update year
No edit summary
Line 256: Line 256:
=== Reading All RTC Time and Date Registers ===
=== Reading All RTC Time and Date Registers ===
<source lang="c">
<source lang="c">
#define CURRENT_YEAR 2022 // Change this each year!
#define CURRENT_YEAR 2023 // Change this each year!


int century_register = 0x00; // Set by ACPI table parsing code if possible
int century_register = 0x00; // Set by ACPI table parsing code if possible