1
0
forked from me/IronOS

Create setting entry for BLE

This commit is contained in:
Ben V. Brown
2023-01-23 17:54:57 +11:00
parent 7ede4d2d44
commit 14948255e3
2 changed files with 5 additions and 1 deletions

View File

@@ -19,7 +19,10 @@ void postRToSInit() {
hall_effect_present = Si7210::init();
}
#endif
ble_stack_start();
if (getSettingValue(SettingsOptions::BLEEnabled)) {
ble_stack_start();
}
}
int16_t getRawHallEffect() {
if (hall_effect_present) {