mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
fix(ble_mesh): Miscellaneous bugfixes according to our internal bug report (v2)
This commit is contained in:
@@ -135,7 +135,7 @@ int k_delayed_work_submit(struct k_delayed_work *work, int32_t delay)
|
||||
}
|
||||
|
||||
/* If delay is 0, call the corresponding timeout handler. */
|
||||
if (delay == 0) {
|
||||
if (delay <= 0) {
|
||||
k_work_submit(&work->work);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user