clear timer handle for struct ble_npl_callout during deinitializtion

This commit is contained in:
wangmengyang
2021-12-06 14:19:42 +05:30
committed by Rahul Tank
parent 3c2719d330
commit ee4caf1486
@@ -381,6 +381,7 @@ npl_freertos_callout_deinit(struct ble_npl_callout *co)
xTimerDelete(co->handle, portMAX_DELAY);
}
#endif
memset(co, 0, sizeof(struct ble_npl_callout));
}
ble_npl_error_t