wledInit -> setup

This commit is contained in:
Travis J Dean 2020-03-30 04:43:37 -04:00
parent 40ac760285
commit 7e21955211
2 changed files with 3 additions and 6 deletions

View File

@ -484,7 +484,7 @@ void WLED::loop()
#endif // WLED_DEBU #endif // WLED_DEBU
} }
void WLED::wledInit() void WLED::setup()
{ {
EEPROM.begin(EEPSIZE); EEPROM.begin(EEPSIZE);
ledCount = EEPROM.read(229) + ((EEPROM.read(398) << 8) & 0xFF00); ledCount = EEPROM.read(229) + ((EEPROM.read(398) << 8) & 0xFF00);

View File

@ -388,14 +388,11 @@ public:
} }
//boot starts here //boot starts here
void setup() void setup();
{
wledInit();
}
void loop(); void loop();
void reset(); void reset();
void wledInit();
void beginStrip(); void beginStrip();
void handleConnection(); void handleConnection();
void initAP(bool resetAP = false); void initAP(bool resetAP = false);