Update to 2.0.0
This commit is contained in:
@@ -19,10 +19,6 @@
|
||||
|
||||
#define TAG "ZHENGCHEN_1_54TFT_ML307"
|
||||
|
||||
LV_FONT_DECLARE(font_puhui_20_4);
|
||||
LV_FONT_DECLARE(font_awesome_20_4);
|
||||
|
||||
|
||||
class ZHENGCHEN_1_54TFT_ML307 : public DualNetworkBoard {
|
||||
private:
|
||||
Button boot_button_;
|
||||
@@ -154,12 +150,7 @@ private:
|
||||
ESP_ERROR_CHECK(esp_lcd_panel_invert_color(panel_, true));
|
||||
|
||||
display_ = new ZHENGCHEN_LcdDisplay(panel_io_, panel_, DISPLAY_WIDTH, DISPLAY_HEIGHT, DISPLAY_OFFSET_X, DISPLAY_OFFSET_Y,
|
||||
DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y, DISPLAY_SWAP_XY,
|
||||
{
|
||||
.text_font = &font_puhui_20_4,
|
||||
.icon_font = &font_awesome_20_4,
|
||||
.emoji_font = font_emoji_64_init(),
|
||||
});
|
||||
DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y, DISPLAY_SWAP_XY);
|
||||
display_->SetupHighTempWarningPopup();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user