rtlabs-com / c-open

CANopen stack for embedded devices
http://www.rt-labs.com
Other
79 stars 40 forks source link

Switch to using ticks instead of time in osal #55

Closed elupus closed 1 year ago

elupus commented 1 year ago

Switch to using ticks from OSAL instead of calculating in time. The time function in OSAL does not always wrap on uint32_t boundaries, which causes problems with execution.

This depends on: https://github.com/rtlabs-com/osal/pull/19

hefloryd commented 1 year ago

Looks like a nice, simple fix. We should probably have used ticks in the first place.