|
|
@@ -16,11 +16,11 @@ typedef struct { |
|
|
|
uint8_t Second; |
|
|
|
uint8_t Minute; |
|
|
|
uint8_t Hour; |
|
|
|
uint8_t Wday; // day of week, sunday is day 1 |
|
|
|
//uint8_t Wday; // day of week, sunday is day 1 |
|
|
|
uint8_t Day; |
|
|
|
uint8_t Month; |
|
|
|
uint8_t Year; // offset from 1970; |
|
|
|
} tmElements_t, TimeElements, *tmElementsPtr_t; |
|
|
|
} tmElements_t; |
|
|
|
|
|
|
|
/* low level functions to convert to and from system time */ |
|
|
|
void breakTime(const timestamp_t time, tmElements_t &tm); // break timestamp_t into elements |
|
|
|