xiaozhi-esp32-2.2.6/main/boards/common/board.h
@@ -85,6 +85,8 @@ virtual void SetPowerSaveLevel(PowerSaveLevel level) = 0; virtual std::string GetBoardJson() = 0; virtual std::string GetDeviceStatusJson() = 0; virtual void OnDeviceReady() {} virtual bool OnRestoredFromPowerOff(bool network_ready) { (void)network_ready; return false; } }; #define DECLARE_BOARD(BOARD_CLASS_NAME) \