diff --git a/src/hmi.cpp b/src/hmi.cpp index 7ee6660..1be6727 100644 --- a/src/hmi.cpp +++ b/src/hmi.cpp @@ -170,7 +170,7 @@ private: }; class Led2 : public Led { public: - Led1(uint16_t bit) : Led() { + Led2(uint16_t bit) : Led() { m_bit = bit; P2DIR |= bit; P2OUT &= ~bit;