-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I believe - because we use for all operands and the result the same integer type - we can simplify the function in ldl_mac.c
static uint32_t timerDelta(uint32_t timeout, uint32_t time)
{
return (timeout <= time) ? (time - timeout) : (UINT32_MAX - timeout + time);
}to
static uint32_t timerDelta(uint32_t timeout, uint32_t time)
{
return (time - timeout);
}matthijskooijman, mgrpierro and gonzabrusco
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request