Skip to content

Commit

Permalink
Fix crowpanel compile
Browse files Browse the repository at this point in the history
  • Loading branch information
suchmememanyskill committed Jan 9, 2025
1 parent df61016 commit 7b0497c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CYD-Klipper/src/core/device/ESP32-CROWPANEL_28R.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7b0497c

Please sign in to comment.