diff --git a/src/hmi.cpp b/src/hmi.cpp index 9a53260..7ee6660 100644 --- a/src/hmi.cpp +++ b/src/hmi.cpp @@ -151,7 +151,7 @@ private: e_state m_state; uint32_t m_timeout; }; -class Led1 : Led { +class Led1 : public Led { public: Led1(uint16_t bit) : Led() { m_bit = bit; @@ -168,7 +168,7 @@ public: private: uint16_t m_bit; }; -class Led2 : Led { +class Led2 : public Led { public: Led1(uint16_t bit) : Led() { m_bit = bit;