fix manual leveling from Mega P TFT #509

Merged
stklcode merged 1 commits from fix/mega-p-leveling into master 2024-01-11 15:11:15 -06:00
stklcode commented 2024-01-11 13:04:04 -06:00 (Migrated from github.com)

Description

Since 1.5.2 the manual leveling feature from the Mega P display is broken.

Steps to reproduce:

  • go to Setup > Leveling
  • (printer performs homing of all axes)
  • select "Next"

Expected behavior:

  • Head moves to the first/second/... leveling point

Actual behavior:

  • Minimal movement and then motors block and stop moving

Apparently this is a regression from commit 524d6fbcdf

Multiple consecutive enqueue_now_P() calls work fine, while multiple injectCommands() overwrite the previous commands instead of queuing them, so the the execution is messed up.

Injecting a single, multi-line string instead of 3 single commands works fine again.

Build and run tested on MEGA_P_DGUS_BLT_10.

Requirements

Anycubic Mega P.

Benefits

Manual leveling feature from the built-in TFT menu works again.

Configurations

--

#519

### Description Since 1.5.2 the manual leveling feature from the Mega P display is broken. Steps to reproduce: * go to Setup > Leveling * (printer performs homing of all axes) * select "Next" Expected behavior: * Head moves to the first/second/... leveling point Actual behavior: * Minimal movement and then motors block and stop moving Apparently this is a regression from commit 524d6fbcdfbce789b22320e25ed5b09c4dd5c42a Multiple consecutive `enqueue_now_P()` calls work fine, while multiple `injectCommands()` overwrite the previous commands instead of queuing them, so the the execution is messed up. Injecting a single, multi-line string instead of 3 single commands works fine again. Build and run tested on `MEGA_P_DGUS_BLT_10`. ### Requirements Anycubic Mega P. ### Benefits Manual leveling feature from the built-in TFT menu works again. ### Configurations -- ### Related Issues #519
Sign in to join this conversation.
No description provided.