CMOS: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Its 2021 now
m Update year
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 2021 // Change this each year!
#define CURRENT_YEAR 2022 // 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