RTC: Bugfix, add missing bit in the date field

replace/2240e38dc005d27cc6dace24b8463ed8372ef053
Federico Amedeo Izzo 2020-12-31 19:11:35 +01:00
rodzic b3bf54adcf
commit f4c4a72584
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -36,10 +36,10 @@ typedef struct
uint8_t minute : 6; /* Minutes (0-59) */
uint8_t second : 6; /* Seconds (0-59) */
uint8_t day : 3; /* Day of the week (1-7) */
uint8_t date : 4; /* Day of the month (1-31) */
uint8_t date : 5; /* Day of the month (1-31) */
uint8_t month : 4; /* Month (1-12) */
uint8_t year : 7; /* Year (0-99) */
uint8_t : 5; /* Padding to 40 bits */
uint8_t : 4; /* Padding to 40 bits */
}curTime_t;
/**