Skip to content

Commit

Permalink
BLE crashing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Feb 13, 2025
1 parent b3d81b2 commit 0a2e1b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/LoRa_APRS_Tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ TinyGPSPlus gps;
BluetoothSerial SerialBT;
#endif

String versionDate = "2025.02.12";
String versionDate = "2025.02.13";

uint8_t myBeaconsIndex = 0;
int myBeaconsSize = Config.beacons.size();
Expand Down
2 changes: 1 addition & 1 deletion src/power_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ namespace POWER_Utils {
PMU.shutdown();
#else

if (Config.bluetooth.useBLE) {
if (Config.bluetooth.active && Config.bluetooth.useBLE) {
BLE_Utils::stop();
} else {
// turn off BT classic ???
Expand Down

0 comments on commit 0a2e1b3

Please sign in to comment.