Fix case light menu toggle

This commit is contained in:
Scott Lahteine 2017-05-30 14:03:45 -05:00 committed by GitHub
parent 89b93058e3
commit be17033762

View file

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