Skip to content

Commit

Permalink
Resize Time and Date data type size
Browse files Browse the repository at this point in the history
  • Loading branch information
RuffaloLavoisier committed Oct 23, 2024
1 parent e636cc0 commit bcde413
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions include/osw_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
#define ERR_SD_MOUNT_FAILED 2

typedef struct {
uint32_t hour;
uint32_t minute;
uint32_t second;
uint8_t hour;
uint8_t minute;
uint8_t second;
bool afterNoon;
} OswTime;

typedef struct {
uint32_t year;
uint32_t month;
uint32_t day;
uint32_t weekDay;
uint16_t year;
uint8_t month;
uint8_t day;
uint8_t weekDay;
} OswDate;

class OswHal {
Expand Down

0 comments on commit bcde413

Please sign in to comment.