LED state changing (Device LEDs work now)

This commit is contained in:
Paul Hollinsky
2018-10-17 16:15:15 -04:00
parent 4426334f3f
commit b4fc3edd0f
3 changed files with 30 additions and 0 deletions
+8
View File
@@ -72,6 +72,14 @@ private:
neodevice_t data;
std::shared_ptr<ResetStatusMessage> latestResetStatus;
enum class LEDState : uint8_t {
Offline = 0x04,
CoreMiniRunning = 0x08, // This should override "offline" if the CoreMini is running
Online = 0x10
};
LEDState ledState;
void updateLEDState();
size_t pollingMessageLimit = 20000;
moodycamel::ConcurrentQueue<std::shared_ptr<Message>> pollingContainer;
void enforcePollingMessageLimit();