Add a note about resetting waiting_inside_plan_buffer_line_print_aborted
This commit is contained in:
parent
0680c0b428
commit
9c971b1b89
|
|
@ -706,9 +706,11 @@ void plan_buffer_line(float x, float y, float z, const float &e, float feed_rate
|
||||||
// Calculate the buffer head after we push this byte
|
// Calculate the buffer head after we push this byte
|
||||||
uint8_t next_buffer_head = next_block_index(block_buffer_head);
|
uint8_t next_buffer_head = next_block_index(block_buffer_head);
|
||||||
|
|
||||||
|
// TODO: shouldn't this be reset only in the outer marlin loop?
|
||||||
|
waiting_inside_plan_buffer_line_print_aborted = false;
|
||||||
|
|
||||||
// If the buffer is full: good! That means we are well ahead of the robot.
|
// If the buffer is full: good! That means we are well ahead of the robot.
|
||||||
// Rest here until there is room in the buffer.
|
// Rest here until there is room in the buffer.
|
||||||
waiting_inside_plan_buffer_line_print_aborted = false;
|
|
||||||
if (block_buffer_tail == next_buffer_head) {
|
if (block_buffer_tail == next_buffer_head) {
|
||||||
do {
|
do {
|
||||||
manage_heater();
|
manage_heater();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue