Low level controller for the Hubo 2 and Hubo 2+ platforms designed by Daniel M. Lofaro. The system is based on the IPC called ACH by Neil Dantam and Mike Stilman.
Other
5
stars
18
forks
source link
Invalid argument to clock_gettime() and clock_nanosleep() #69
Zero is passed as the clock_id argument to clock_gettime() and clock_nanosleep() in huboLoop(). This does not follow the POSIX spec and if it works, it's by accident.
The correct clock_id here is probably CLOCK_MONOTONIC.
Zero is passed as the clock_id argument to clock_gettime() and clock_nanosleep() in huboLoop(). This does not follow the POSIX spec and if it works, it's by accident.
The correct clock_id here is probably CLOCK_MONOTONIC.