| 80 | } |
| 81 | |
| 82 | void DateTime_CurrentLocal(struct cc_datetime* t) { |
| 83 | rtc_time_t curTime = { 0 }; |
| 84 | rtc_get(&curTime); |
| 85 | |
| 86 | t->year = curTime.year; |
| 87 | t->month = curTime.month; |
| 88 | t->day = curTime.day; |
| 89 | t->hour = curTime.hour; |
| 90 | t->minute = curTime.min; |
| 91 | t->second = curTime.sec; |
| 92 | } |
| 93 | |
| 94 | |
| 95 | /*########################################################################################################################* |
no outgoing calls
no test coverage detected