From c337666a34220e63d8eaf97b4f08bd889598092a Mon Sep 17 00:00:00 2001 From: Avamander Date: Tue, 22 Jun 2021 00:41:32 +0300 Subject: [PATCH] Removed an illogical check from npl_freertos_callout_reset --- porting/npl/freertos/src/npl_os_freertos.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/porting/npl/freertos/src/npl_os_freertos.c b/porting/npl/freertos/src/npl_os_freertos.c index 87936bd8d..ecc5cd7b1 100644 --- a/porting/npl/freertos/src/npl_os_freertos.c +++ b/porting/npl/freertos/src/npl_os_freertos.c @@ -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; }