diff --git a/CYD-Klipper/src/core/device/ESP32-CROWPANEL_28R.cpp b/CYD-Klipper/src/core/device/ESP32-CROWPANEL_28R.cpp index a3674e7..580e2d7 100644 --- a/CYD-Klipper/src/core/device/ESP32-CROWPANEL_28R.cpp +++ b/CYD-Klipper/src/core/device/ESP32-CROWPANEL_28R.cpp @@ -58,7 +58,7 @@ void screen_lv_touchRead(lv_indev_drv_t *indev_driver, lv_indev_data_t *data) } void set_invert_display(){ - tft.invertDisplay(get_current_printer_config()->invert_colors); + tft.invertDisplay(global_config.printer_config[global_config.printer_index].invert_colors); } void screen_setup()