mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -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:
@@ -224,7 +224,7 @@ bool ble_glue_wait_for_c2_start(int32_t timeout_ms) {
|
||||
}
|
||||
|
||||
bool ble_glue_start(void) {
|
||||
furi_assert(ble_glue);
|
||||
furi_check(ble_glue);
|
||||
|
||||
if(ble_glue->status != BleGlueStatusC2Started) {
|
||||
return false;
|
||||
@@ -243,7 +243,7 @@ bool ble_glue_start(void) {
|
||||
}
|
||||
|
||||
void ble_glue_stop(void) {
|
||||
furi_assert(ble_glue);
|
||||
furi_check(ble_glue);
|
||||
|
||||
ble_event_thread_stop();
|
||||
// Free resources
|
||||
|
||||
Reference in New Issue
Block a user