mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 22:28:36 -07:00
FindMy: Disable beacon correctly at exit, not in config
This commit is contained in:
@@ -38,6 +38,7 @@ bool findmy_scene_main_on_event(void* context, SceneManagerEvent event) {
|
|||||||
findmy_change_broadcast_interval(app, app->broadcast_interval - 1);
|
findmy_change_broadcast_interval(app, app->broadcast_interval - 1);
|
||||||
break;
|
break;
|
||||||
case FindMyMainEventQuit:
|
case FindMyMainEventQuit:
|
||||||
|
furi_hal_bt_extra_beacon_stop();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
consumed = false;
|
consumed = false;
|
||||||
@@ -51,5 +52,4 @@ bool findmy_scene_main_on_event(void* context, SceneManagerEvent event) {
|
|||||||
void findmy_scene_main_on_exit(void* context) {
|
void findmy_scene_main_on_exit(void* context) {
|
||||||
FindMy* app = context;
|
FindMy* app = context;
|
||||||
UNUSED(app);
|
UNUSED(app);
|
||||||
furi_hal_bt_extra_beacon_stop();
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user