From c35b14676264a5e48e2cb96be859729edb3e6b60 Mon Sep 17 00:00:00 2001 From: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com> Date: Sun, 27 Oct 2024 01:53:00 +0200 Subject: [PATCH] Explicit cast to void* --- CYD-Klipper/src/core/klipper/klipper_printer_panels.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CYD-Klipper/src/core/klipper/klipper_printer_panels.cpp b/CYD-Klipper/src/core/klipper/klipper_printer_panels.cpp index b65bfb1..2e1a27f 100644 --- a/CYD-Klipper/src/core/klipper/klipper_printer_panels.cpp +++ b/CYD-Klipper/src/core/klipper/klipper_printer_panels.cpp @@ -169,10 +169,10 @@ static void open_extrude_mult_panel(lv_event_t * e){ } static PrinterUiPanel klipper_ui_panels[4] { - { .set_label = set_fan_speed_text, .open_panel = open_fan_speed_panel }, - { .set_label = set_zoffset_text, .open_panel = open_zoffset_panel }, - { .set_label = set_speed_mult_text, .open_panel = open_speed_mult_panel }, - { .set_label = set_extrude_mult_text, .open_panel = open_extrude_mult_panel } + { .set_label = (void*)set_fan_speed_text, .open_panel = (void*)open_fan_speed_panel }, + { .set_label = (void*)set_zoffset_text, .open_panel = (void*)open_zoffset_panel }, + { .set_label = (void*)set_speed_mult_text, .open_panel = (void*)open_speed_mult_panel }, + { .set_label = (void*)set_extrude_mult_text, .open_panel = (void*)open_extrude_mult_panel } }; void KlipperPrinter::init_ui_panels()