kopia lustrzana https://github.com/Schildkroet/GRBL-Advanced
Fixed not cleared serial buffer after soft reset
rodzic
218e98bc98
commit
5d3d1c71ee
3
main.c
3
main.c
|
@ -94,6 +94,9 @@ int main(void) {
|
|||
|
||||
// Start Grbl-Advanced main loop. Processes program inputs and executes them.
|
||||
Protocol_MainLoop();
|
||||
|
||||
// Clear serial buffer after soft reset to prevent undefined behavior
|
||||
FifoUsart_Init();
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Ładowanie…
Reference in New Issue