Skip to content

🚸 Immediate Buttons and Menu Items#28180

Merged
thinkyhead merged 3 commits intoMarlinFirmware:bugfix-2.1.xfrom
thinkyhead:bf2_immediate_button_PR
Nov 20, 2025
Merged

🚸 Immediate Buttons and Menu Items#28180
thinkyhead merged 3 commits intoMarlinFirmware:bugfix-2.1.xfrom
thinkyhead:bf2_immediate_button_PR

Conversation

@thinkyhead
Copy link
Member

This PR adds UI options to run G-code commands immediately, even when the queue is blocked by a running command.

This provides a partial solution for #26510 but the Emergency Parser must still be disabled if you want to use M108, M112, M410, or M876 in buttons or menu commands.

Without the EP enabled these commands can take a little longer to execute when sent from a host or serial controller; however, they still get first priority in the queue and run as soon as they are recognized.

  • Add an option for a button's G-code to skip the queue and run immediately.
  • Add a menu item type that will run G-codes immediately.

See also #26944 which is … almost there.

thinkyhead added a commit to MarlinFirmware/Configurations that referenced this pull request Nov 18, 2025
@thinkyhead thinkyhead changed the title 🚸 BUTTON*_IMMEDIATE, COMMAND_ITEM 🚸 Immediate Buttons and Menu Items Nov 18, 2025
@thinkyhead thinkyhead force-pushed the bf2_immediate_button_PR branch 3 times, most recently from c35b408 to 4a56322 Compare November 18, 2025 20:01
@thinkyhead thinkyhead force-pushed the bf2_immediate_button_PR branch from 4a56322 to 4fd9704 Compare November 18, 2025 20:05
@thinkyhead thinkyhead merged commit 5e72eca into MarlinFirmware:bugfix-2.1.x Nov 20, 2025
67 of 199 checks passed
thinkyhead added a commit that referenced this pull request Nov 23, 2025
thinkyhead added a commit to thinkyhead/Marlin that referenced this pull request Dec 4, 2025
thinkyhead added a commit that referenced this pull request Dec 5, 2025
@thinkyhead thinkyhead deleted the bf2_immediate_button_PR branch December 7, 2025 04:34
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