kopia lustrzana https://github.com/Schildkroet/GRBL-Advanced
Bugfix after soft reset. Serial buffer was not cleared.
rodzic
ff4b563041
commit
0687057580
3
main.c
3
main.c
|
@ -107,6 +107,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