Browse Source

Prevent serial buffer overrun in Pronterface

75ms might  be excessive...    But I know people are seeing problems with PronterFace as the client...
Roxy-3D 7 years ago
parent
commit
306f44198e
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/src/feature/bedlevel/ubl/ubl.cpp

+ 1
- 0
Marlin/src/feature/bedlevel/ubl/ubl.cpp View File

63
           SERIAL_ECHOPAIR_P(port, " ; X", LOGICAL_X_POSITION(mesh_index_to_xpos(x)));
63
           SERIAL_ECHOPAIR_P(port, " ; X", LOGICAL_X_POSITION(mesh_index_to_xpos(x)));
64
           SERIAL_ECHOPAIR_P(port, ", Y", LOGICAL_Y_POSITION(mesh_index_to_ypos(y)));
64
           SERIAL_ECHOPAIR_P(port, ", Y", LOGICAL_Y_POSITION(mesh_index_to_ypos(y)));
65
           SERIAL_EOL_P(port);
65
           SERIAL_EOL_P(port);
66
+          safe_delay(75); // Prevent Printrun from exploding
66
         }
67
         }
67
   }
68
   }
68
 
69
 

Loading…
Cancel
Save