Setting setup for BLEEnabled
This commit is contained in:
@@ -54,7 +54,7 @@ enum SettingsOptions {
|
||||
BLEEnabled = 37, // Should BLE hardware be enabled if present
|
||||
|
||||
//
|
||||
SettingsOptionsLength = 37, //
|
||||
SettingsOptionsLength = 38, //
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
|
||||
@@ -85,6 +85,7 @@ enum class SettingsItemIndex : uint8_t {
|
||||
PowerPulseDuration,
|
||||
SettingsReset,
|
||||
LanguageSwitch,
|
||||
BLEEnabled,
|
||||
NUM_ITEMS,
|
||||
};
|
||||
|
||||
|
||||
@@ -86,6 +86,7 @@ static const SettingConstants settingsConstants[(int)SettingsOptions::SettingsOp
|
||||
{0, 99, 11, 33}, // OLEDBrightness
|
||||
{0, 5, 1, 1}, // LOGOTime
|
||||
{0, 1, 1, 0}, // CalibrateCJC
|
||||
{0, 1, 1, 1}, // BLEEnabled
|
||||
|
||||
};
|
||||
static_assert((sizeof(settingsConstants) / sizeof(SettingConstants)) == ((int)SettingsOptions::SettingsOptionsLength));
|
||||
|
||||
Reference in New Issue
Block a user