feat:MagiClick-2p5增加硬件版本识别,增加对新屏幕的支持 (#1797)
* 增加硬件版本识别,开机自动切换不同的显示驱动 1、增加PCB版本识别 2、增加对ST7735屏幕的支持 3、删除sdk多余配置 4、增加电池均值次数 * fix lcd info
This commit is contained in:
@ -23,7 +23,7 @@ private:
|
||||
bool is_low_battery_ = false;
|
||||
int ticks_ = 0;
|
||||
const int kBatteryAdcInterval = 60;
|
||||
const int kBatteryAdcDataCount = 3;
|
||||
const int kBatteryAdcDataCount = 5;
|
||||
const int kLowBatteryLevel = 20;
|
||||
|
||||
adc_oneshot_unit_handle_t adc_handle_;
|
||||
|
||||
Reference in New Issue
Block a user