FreeRTOS clock fix
This commit is contained in:
parent
5ff161b70a
commit
8c87dafd5d
@ -34,7 +34,9 @@ ReturnValue_t Clock::setClock(const timeval* time) {
|
||||
return returnvalue::OK;
|
||||
}
|
||||
|
||||
ReturnValue_t Clock::getClock_timeval(timeval* time) {
|
||||
ReturnValue_t Clock::getClock_timeval(timeval* time) { return getClock(time); }
|
||||
|
||||
ReturnValue_t Clock::getClock(timeval* time) {
|
||||
timeval uptime = getUptime();
|
||||
|
||||
timeval offset = Timekeeper::instance()->getOffset();
|
||||
|
@ -168,4 +168,3 @@ void serial::flushRxBuf(int fd) { tcflush(fd, TCIFLUSH); }
|
||||
void serial::flushTxBuf(int fd) { tcflush(fd, TCOFLUSH); }
|
||||
|
||||
void serial::flushTxRxBuf(int fd) { tcflush(fd, TCIOFLUSH); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user