Skip to content

Commit

Permalink
FindMy: Disable beacon correctly at exit, not in config
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Mar 8, 2024
1 parent 2a105e4 commit aa15ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/system/findmy/scenes/findmy_scene_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ bool findmy_scene_main_on_event(void* context, SceneManagerEvent event) {
findmy_change_broadcast_interval(app, app->broadcast_interval - 1);
break;
case FindMyMainEventQuit:
furi_hal_bt_extra_beacon_stop();
break;
default:
consumed = false;
Expand All @@ -51,5 +52,4 @@ bool findmy_scene_main_on_event(void* context, SceneManagerEvent event) {
void findmy_scene_main_on_exit(void* context) {
FindMy* app = context;
UNUSED(app);
furi_hal_bt_extra_beacon_stop();
}

0 comments on commit aa15ee6

Please sign in to comment.