bolar_1 date 2026-7-1 d:/proc

This commit is contained in:
2026-11-27 17:44:38 +08:00
commit 0dbdfa57bc
890 changed files with 325428 additions and 0 deletions

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

@@ -0,0 +1,26 @@
#pragma once
enum class LedState {
kOff,
kIdle,
kConnecting,
kListening,
kSpeaking,
kRinging, // Incoming call (green blink)
kCalling, // Active call (green steady)
kUpgrading,
kError,
kWifiConfig,
kShuttingDown,
};
class Led {
public:
virtual ~Led() = default;
virtual void SetState(LedState state) = 0;
};
class NoLed : public Led {
public:
void SetState(LedState /*state*/) override {}
};