Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing SLIM_LCD_MENUS checks #27421

Open
wants to merge 2 commits into
base: bugfix-2.1.x
Choose a base branch
from

Conversation

ellensp
Copy link
Contributor

@ellensp ellensp commented Sep 17, 2024

Description

Since #27393 SLIM_LCD_MENUS is broken.

When SLIM_LCD_MENUS is enabled void _lcd_toggle_bed_leveling() is not defined.
resulting in this error

In file included from Marlin/src/lcd/menu/menu_probe_level.cpp:31:0:
Marlin/src/lcd/menu/menu_probe_level.cpp: In function 'void menu_probe_level()':
Marlin/src/lcd/menu/menu_probe_level.cpp:274:56: error: '_lcd_toggle_bed_leveling' was not declared in this scope
         EDIT_ITEM(bool, MSG_BED_LEVELING, &show_state, _lcd_toggle_bed_leveling);
                                                        ^
Marlin/src/lcd/menu/menu_item.h:290:39: note: in definition of macro '_MENU_INNER_F'

Added missing SLIM_LCD_MENUS checks.

Requirements

#define SLIM_LCD_MENUS
A probe I used #define FIX_MOUNTED_PROBE
A LCD I used REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
Bed leveling I used AUTO_BED_LEVELING_UBL
and to satify the requirments
#define Z_SAFE_HOMING
#define EEPROM_SETTINGS

Benefits

Builds as expected

Configurations

Configuration.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant