forked from xiaozhi/xiaozhi-esp32
add config files for known boards
This commit is contained in:
@@ -3,11 +3,18 @@
|
||||
|
||||
class SystemReset {
|
||||
public:
|
||||
SystemReset();
|
||||
static SystemReset& GetInstance() {
|
||||
static SystemReset instance;
|
||||
return instance;
|
||||
}
|
||||
|
||||
void CheckButtons();
|
||||
|
||||
private:
|
||||
SystemReset(); // 构造函数私有化
|
||||
SystemReset(const SystemReset&) = delete; // 禁用拷贝构造
|
||||
SystemReset& operator=(const SystemReset&) = delete; // 禁用赋值操作
|
||||
|
||||
void ResetNvsFlash();
|
||||
void ResetToFactory();
|
||||
void RestartInSeconds(int seconds);
|
||||
|
||||
Reference in New Issue
Block a user