Closed gavanderhoorn closed 4 weeks ago
I'm not entirely sure, but shouldn't this:
https://github.com/Yaskawa-Global/motoros2/blob/d249d850d64c295fb5f7feeaa61787a84d3b25ad/src/main.c#L159
actually use ULONG_MAX instead of UINT_MAX?
ULONG_MAX
UINT_MAX
tickDiff is a:
tickDiff
https://github.com/Yaskawa-Global/motoros2/blob/d249d850d64c295fb5f7feeaa61787a84d3b25ad/src/main.c#L155
Minor, but still.
I'm not entirely sure, but shouldn't this:
https://github.com/Yaskawa-Global/motoros2/blob/d249d850d64c295fb5f7feeaa61787a84d3b25ad/src/main.c#L159
actually use
ULONG_MAX
instead ofUINT_MAX
?tickDiff
is a:https://github.com/Yaskawa-Global/motoros2/blob/d249d850d64c295fb5f7feeaa61787a84d3b25ad/src/main.c#L155
Minor, but still.