Removed ledstrip_custom_colors (replaced with configwrapper)
This commit is contained in:
@@ -32,8 +32,6 @@ bool simplified =
|
|||||||
ProfileSettings profileSettings;
|
ProfileSettings profileSettings;
|
||||||
SettingsPersister settingsPersister;
|
SettingsPersister settingsPersister;
|
||||||
|
|
||||||
std::array<CRGB, 8> ledstrip_custom_colors;
|
|
||||||
|
|
||||||
Controllers controllers;
|
Controllers controllers;
|
||||||
|
|
||||||
#ifdef FEATURE_BLUETOOTH
|
#ifdef FEATURE_BLUETOOTH
|
||||||
|
@@ -55,8 +55,6 @@ extern bool simplified;
|
|||||||
extern ProfileSettings profileSettings;
|
extern ProfileSettings profileSettings;
|
||||||
extern SettingsPersister settingsPersister;
|
extern SettingsPersister settingsPersister;
|
||||||
|
|
||||||
extern std::array<CRGB, 8> ledstrip_custom_colors;
|
|
||||||
|
|
||||||
class Controllers : public std::array<Controller, 2>
|
class Controllers : public std::array<Controller, 2>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@@ -250,6 +250,16 @@ public:
|
|||||||
ConfigWrapper<OtaAnimationModes> otaMode {OtaAnimationModes::GreenProgressBar, DoReset, {}, "ledOtaAnim" };
|
ConfigWrapper<OtaAnimationModes> otaMode {OtaAnimationModes::GreenProgressBar, DoReset, {}, "ledOtaAnim" };
|
||||||
ConfigWrapper<uint32_t> maxMilliamps {3000, DoReset, {}, "ledMaxMilliamps" };
|
ConfigWrapper<uint32_t> maxMilliamps {3000, DoReset, {}, "ledMaxMilliamps" };
|
||||||
ConfigWrapper<bool> enableVisualizeBlink {false, DoReset, {}, "enVisualBlink" };
|
ConfigWrapper<bool> enableVisualizeBlink {false, DoReset, {}, "enVisualBlink" };
|
||||||
|
std::array<ConfigWrapper<uint32_t>, 8> custom_color {
|
||||||
|
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol1" },
|
||||||
|
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol2" },
|
||||||
|
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol3" },
|
||||||
|
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol4" },
|
||||||
|
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol5" },
|
||||||
|
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol6" },
|
||||||
|
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol7" },
|
||||||
|
ConfigWrapper<uint32_t> {0, DoReset, {}, "ledCustomCol8" },
|
||||||
|
};
|
||||||
} ledstrip;
|
} ledstrip;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
|
Reference in New Issue
Block a user