Browse Source

Fix case light menu toggle

Scott Lahteine 7 years ago
parent
commit
be17033762
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp View File

@@ -871,7 +871,7 @@ void kill_screen(const char* lcd_msg) {
871 871
     // Switch case light on/off
872 872
     //
873 873
     #if ENABLED(MENU_ITEM_CASE_LIGHT)
874
-      MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, case_light_on, update_case_light);
874
+      MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, &case_light_on, update_case_light);
875 875
     #endif
876 876
 
877 877
     if (planner.movesplanned() || IS_SD_PRINTING) {

Loading…
Cancel
Save