Create setting entry for BLE
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -51,6 +51,7 @@ enum SettingsOptions {
|
||||
OLEDBrightness = 34, // Brightness for the OLED display
|
||||
LOGOTime = 35, // Duration the logo will be displayed for
|
||||
CalibrateCJC = 36, // Toggle calibrate CJC at next boot
|
||||
BLEEnabled = 37, // Should BLE hardware be enabled if present
|
||||
|
||||
//
|
||||
SettingsOptionsLength = 37, //
|
||||
|
||||
Reference in New Issue
Block a user