mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 00:18:35 -07:00
BLE/GAP fixes (#3533)
* hal: fixed ble_gap race on queue init * fbt: removed deprecated path_as_posix * hal: fixed inconsistencies between f7/f18 APIs * hal: fixed excessively strict event handler re-init checks Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -80,7 +80,7 @@ void ble_event_thread_stop(void) {
|
||||
}
|
||||
|
||||
FuriThreadId thread_id = furi_thread_get_id(event_thread);
|
||||
furi_assert(thread_id);
|
||||
furi_check(thread_id);
|
||||
furi_thread_flags_set(thread_id, BLE_EVENT_THREAD_FLAG_KILL_THREAD);
|
||||
furi_thread_join(event_thread);
|
||||
furi_thread_free(event_thread);
|
||||
|
||||
Reference in New Issue
Block a user