-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Closed
Labels
Description
Did you test the latest bugfix-2.1.x
code?
Yes, and the problem still exists.
Bug Description
I added custom menu items to my Configuration_adv.h file, using the examples as a template:
#define CUSTOM_MENU_MAIN
#if ENABLED(CUSTOM_MENU_MAIN)
#define CUSTOM_MENU_MAIN_TITLE "Leveling"
#define CUSTOM_MENU_MAIN_SCRIPT_DONE "M117 User Script Done"
#define CUSTOM_MENU_MAIN_SCRIPT_AUDIBLE_FEEDBACK
//#define CUSTOM_MENU_MAIN_SCRIPT_RETURN // Return to status screen after a script
#define CUSTOM_MENU_MAIN_ONLY_IDLE // Only show custom menu when the machine is idle
#define MAIN_MENU_ITEM_1_DESC "Level for " PREHEAT_1_LABEL
#define MAIN_MENU_ITEM_1_GCODE "M190 S" STRINGIFY(PREHEAT_1_TEMP_BED) "\nM109 S" STRINGIFY(PREHEAT_1_TEMP_HOTEND) " \nG28 \nG29 P1 \nG29 P3 \nG29 S1 \nG29 F 10 \nG29 A \nM500 \nM140 S0 \nM104 S0"
//#define MAIN_MENU_ITEM_1_CONFIRM // Show a confirmation dialog before this action
#define MAIN_MENU_ITEM_2_DESC "Level for " PREHEAT_2_LABEL
#define MAIN_MENU_ITEM_2_GCODE "M190 S" STRINGIFY(PREHEAT_2_TEMP_BED) "\nM109 S" STRINGIFY(PREHEAT_2_TEMP_HOTEND) " \nG28 \nG29 P1 \nG29 P3 \nG29 S2 \nG29 F 10 \nG29 A \nM500 \nM140 S0 \nM104 S0"
//#define MAIN_MENU_ITEM_2_CONFIRM
#define MAIN_MENU_ITEM_3_DESC "Home & UBL Info"
#define MAIN_MENU_ITEM_3_GCODE "G28\nG29 W"
#endif
Nothing shows up on my printer's screen.
I know my firmware is being loaded because I add my build number to my CUSTOM_MACHINE_NAME, and the correct build number is being displayed when the printer boots.
Bug Timeline
new
Expected behavior
I expect my "Leveling" menu item to show up on my printer's main screen, with three items displayed when I select the Leveling item.
Actual behavior
No "Leveling" menu is displayed.
Steps to Reproduce
- Modify Configuration_adv.h as shown above.
- Modify CUSTOM_MACHINE_NAME in Configuration.h
- Build
- Boot printer from new firmware.
Version of Marlin Firmware
Marlin-bugfix-2.1.x
Printer model
Creality Ender 3 V2
Electronics
Stock
Add-ons
Inductive bed sensor
Bed Leveling
UBL Bilinear mesh
Your Slicer
None
Host Software
None
Don't forget to include
- A ZIP file containing your
Configuration.h
andConfiguration_adv.h
.