forked from xiaozhi/xiaozhi-esp32
remove extra calls
This commit is contained in:
@@ -148,11 +148,6 @@ private:
|
||||
ESP_ERROR_CHECK(esp_lcd_panel_disp_on_off(panel, true));
|
||||
display_ = new NV3023Display(panel_io, panel, DISPLAY_BACKLIGHT_PIN, DISPLAY_BACKLIGHT_OUTPUT_INVERT,
|
||||
DISPLAY_WIDTH, DISPLAY_HEIGHT, DISPLAY_OFFSET_X, DISPLAY_OFFSET_Y, DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y, DISPLAY_SWAP_XY);
|
||||
if (display_) {
|
||||
display_->SetupUI();
|
||||
} else {
|
||||
ESP_LOGE(TAG, "Display is not initialized!");
|
||||
}
|
||||
}
|
||||
|
||||
// 物联网初始化,添加对 AI 可见设备
|
||||
|
||||
Reference in New Issue
Block a user