core: change types from uint32_t to u32 (e.g)

This commit is contained in:
2025-01-27 11:26:15 +01:00
parent 95fec015f2
commit d7626df19c
51 changed files with 422 additions and 374 deletions

View File

@ -1,5 +1,6 @@
#pragma once
#include "types.h"
#include <stdint.h>
#define SECOND_REGISTER 0x00
@ -17,14 +18,14 @@
enum { CMOS_ADDRESS = 0x70, CMOS_DATA = 0x71 };
struct rtc_date {
uint8_t second;
uint8_t minute;
uint8_t hour;
u8 second;
u8 minute;
u8 hour;
uint8_t index_of_the_day;
uint8_t day;
uint8_t month;
uint32_t year;
u8 index_of_the_day;
u8 day;
u8 month;
u32 year;
};
struct rtc_date get_date(void);
struct rtc_date get_date(void);