aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/cmos/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/cmos/rtc.h')
-rw-r--r--src/kernel/cmos/rtc.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/kernel/cmos/rtc.h b/src/kernel/cmos/rtc.h
index ca80f4f..7604bb1 100644
--- a/src/kernel/cmos/rtc.h
+++ b/src/kernel/cmos/rtc.h
@@ -1,15 +1,17 @@
#ifndef MELVIX_RTC_H
#define MELVIX_RTC_H
-unsigned char second;
-unsigned char minute;
-unsigned char hour;
-unsigned char day;
-unsigned char month;
+#include <stdint.h>
+
+uint8_t second;
+uint8_t minute;
+uint8_t hour;
+uint8_t day;
+uint8_t month;
unsigned int year;
void read_rtc();
-void write_time();
+void rtc_print();
-#endif \ No newline at end of file
+#endif