Skip to content

Commit

Permalink
src: Cleanup unused parameter from BLE_power()
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Chapron committed Dec 12, 2023
1 parent 5762e49 commit 8c0b9ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ void coin_main(void) {

#ifdef HAVE_BLE
BLE_power(0, NULL);
BLE_power(1, "Nano X");
BLE_power(1, NULL);
#endif // HAVE_BLE

app_main();
Expand Down Expand Up @@ -247,7 +247,7 @@ static void start_app_from_lib(void) {
// grab the current plane mode setting
G_io_app.plane_mode = os_setting_get(OS_SETTING_PLANEMODE, NULL, 0);
BLE_power(0, NULL);
BLE_power(1, "Nano X");
BLE_power(1, NULL);
#endif // HAVE_BLE
app_main();
}
Expand Down

0 comments on commit 8c0b9ed

Please sign in to comment.