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