first commit
Some checks failed
Build Boards / Determine boards to build (push) Has been cancelled
Build Boards / Build ${{ matrix.board }} (push) Has been cancelled

This commit is contained in:
0Xiao0
2026-02-02 14:29:15 +08:00
commit 165219cee0
694 changed files with 37654 additions and 0 deletions

17
main/led/led.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef _LED_H_
#define _LED_H_
class Led {
public:
virtual ~Led() = default;
// Set the led state based on the device state
virtual void OnStateChanged() = 0;
};
class NoLed : public Led {
public:
virtual void OnStateChanged() override {}
};
#endif // _LED_H_