Removed an illogical check from npl_freertos_callout_reset

This commit is contained in:
Avamander
2021-06-30 10:12:34 +02:00
committed by Szymon Janc
parent aecd4b2038
commit c337666a34
@@ -279,10 +279,6 @@ npl_freertos_callout_reset(struct ble_npl_callout *co, ble_npl_time_t ticks)
{
BaseType_t woken1, woken2, woken3;
if (ticks < 0) {
return BLE_NPL_INVALID_PARAM;
}
if (ticks == 0) {
ticks = 1;
}