RADMoon2: Enable communication for MDIO

This commit is contained in:
Yasser Yassine
2025-02-26 02:40:01 +00:00
committed by Kyle Schwarz
parent 759cb2436d
commit ea5f11268c
3 changed files with 14 additions and 24 deletions
+7 -8
View File
@@ -848,6 +848,13 @@ protected:
neodevice_t& getWritableNeoDevice() { return data; }
enum class LEDState : uint8_t {
Offline = 0x04,
CoreMiniRunning = 0x08, // This should override "offline" if the CoreMini is running
Online = 0x10
};
LEDState ledState;
void updateLEDState();
private:
neodevice_t data;
std::shared_ptr<ResetStatusMessage> latestResetStatus;
@@ -876,14 +883,6 @@ private:
APIEvent::Type getCommunicationNotEstablishedError();
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::BlockingConcurrentQueue<std::shared_ptr<Message>> pollingContainer;
void enforcePollingMessageLimit();