Skip to content

Commit

Permalink
Explicit cast to void*
Browse files Browse the repository at this point in the history
  • Loading branch information
suchmememanyskill committed Oct 26, 2024
1 parent e55c287 commit c35b146
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CYD-Klipper/src/core/klipper/klipper_printer_panels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c35b146

Please sign in to comment.