forked from xiaozhi/xiaozhi-esp32
18 lines
237 B
C++
18 lines
237 B
C++
#ifndef _SYSTEM_RESET_H
|
|
#define _SYSTEM_RESET_H
|
|
|
|
class SystemReset {
|
|
public:
|
|
SystemReset();
|
|
|
|
void CheckButtons();
|
|
|
|
private:
|
|
void ResetNvsFlash();
|
|
void ResetToFactory();
|
|
void RestartInSeconds(int seconds);
|
|
};
|
|
|
|
|
|
#endif
|