1
0
forked from fsfw/fsfw

taken over host osal from upstream branch

This commit is contained in:
2020-12-05 17:09:49 +01:00
parent c5c776e676
commit 248ceebf81
10 changed files with 36 additions and 56 deletions

View File

@ -106,11 +106,6 @@ ReturnValue_t Clock::getUptime(uint32_t* uptimeMs) {
return HasReturnvaluesIF::RETURN_OK;
}
uint32_t Clock::getUptimeSeconds() {
timeval uptime = getUptime();
return uptime.tv_sec;
}
ReturnValue_t Clock::getDateAndTime(TimeOfDay_t* time) {
// do some magic with chrono (C++20!)