mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-12 08:57:22 +00:00
clear timer handle for struct ble_npl_callout during deinitializtion
This commit is contained in:
@@ -380,6 +380,7 @@ npl_freertos_callout_deinit(struct ble_npl_callout *co)
|
|||||||
xTimerDelete(co->handle, portMAX_DELAY);
|
xTimerDelete(co->handle, portMAX_DELAY);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
memset(co, 0, sizeof(struct ble_npl_callout));
|
||||||
}
|
}
|
||||||
|
|
||||||
ble_npl_error_t
|
ble_npl_error_t
|
||||||
|
|||||||
Reference in New Issue
Block a user