chore: fix almost *ALL* warnings.
[lunaix-os.git] / lunaix-os / includes / lunaix / clock.h
index 889490e9af0fb54d14fa5668ca3f422c549931a4..f3c67d978470b43bb105c3910a3947c7577b4347 100644 (file)
@@ -8,12 +8,12 @@ typedef u32_t time_t;
 typedef struct
 {
     u32_t year; // use int32 as we need to store the 4-digit year
-    uint8_t month;
-    uint8_t day;
-    uint8_t weekday;
-    uint8_t hour;
-    uint8_t minute;
-    uint8_t second;
+    u8_t month;
+    u8_t day;
+    u8_t weekday;
+    u8_t hour;
+    u8_t minute;
+    u8_t second;
 } datetime_t;
 
 void