1
0
forked from me/IronOS

Setting setup for BLEEnabled

This commit is contained in:
Ben V. Brown
2023-01-23 18:01:35 +11:00
parent 14948255e3
commit 82499f4e83
3 changed files with 3 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ enum SettingsOptions {
BLEEnabled = 37, // Should BLE hardware be enabled if present
//
SettingsOptionsLength = 37, //
SettingsOptionsLength = 38, //
};
typedef enum {

View File

@@ -85,6 +85,7 @@ enum class SettingsItemIndex : uint8_t {
PowerPulseDuration,
SettingsReset,
LanguageSwitch,
BLEEnabled,
NUM_ITEMS,
};

View File

@@ -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));