Fix UBL mesh editing#17670
Conversation
|
to fix crazy movment how can I create a critical section? // Remove all the queued blocks. Note that this function is NOT |
|
by disabling interrupts, some macro are still defined: |
|
I tried with critical section but i makes Marlin freeze |
|
Not sure what/why
|
|
Before my change when planner.movesplanned calls Planner::quick_stop() that if I understand correctly clear the buffer Now the function return without making changes and planning move it is not ideal but it works The current does not work for my delta printer. |
|
I've been looking at the menu code and whether this is the best approach. I need to install UBL on a printer and play around with the mesh editing interface, refine it until the behavior is consistent with expectations. Namely:
|
Most obvious part of #17670 Co-Authored-By: FilippoR <filippo.rossoni@gmail.com>
90594a2 to
73eaa9b
Compare
73eaa9b to
0cda4ca
Compare
|
I've tried a different approach here. It uses |
|
I test this patch and when enter in mesh edit te printer restart. Ill try to find the problem |
|
I think that in order to use the Anyway, I'll clean this up and merge it, and I'll revisit again during the next LCD code scrub. |
|
Now it works thanks |
7b92348 to
37176ed
Compare
Most obvious part of MarlinFirmware#17670 Co-Authored-By: FilippoR <filippo.rossoni@gmail.com>
Most obvious part of MarlinFirmware#17670 Co-Authored-By: FilippoR <filippo.rossoni@gmail.com>
Most obvious part of MarlinFirmware#17670 Co-Authored-By: FilippoR <filippo.rossoni@gmail.com>
fix move on ubl mesh edit
x_plot , y_plot can be negative when move backward (see _lcd_ubl_output_map_lcd when step_scaler <0)
planner.quick_stop(); cause crazy moviment out of working area on my configuration