【需求】双网络类型通过长按boot切换网络 (#520)

* 【需求】双网络类型通过长按boot切换网络

* Update Kconfig.projbuild

---------

Co-authored-by: guhaibo <guhaibo@boe.com.cn>
Co-authored-by: Xiaoxia <terrence@tenclass.com>
This commit is contained in:
Haibo Gu
2025-05-07 02:33:38 +08:00
committed by GitHub
parent 8e638e3884
commit d505b3b1ae
10 changed files with 457 additions and 4 deletions

View File

@@ -17,7 +17,6 @@ class Board {
private:
Board(const Board&) = delete; // 禁用拷贝构造函数
Board& operator=(const Board&) = delete; // 禁用赋值操作
virtual std::string GetBoardJson() = 0;
protected:
Board();
@@ -48,6 +47,7 @@ public:
virtual bool GetBatteryLevel(int &level, bool& charging, bool& discharging);
virtual std::string GetJson();
virtual void SetPowerSaveMode(bool enabled) = 0;
virtual std::string GetBoardJson() = 0;
};
#define DECLARE_BOARD(BOARD_CLASS_NAME) \