Bugfix after soft reset. Serial buffer was not cleared.

pull/25/head
Patrick Felixberger 2018-11-07 22:05:47 +01:00
rodzic ff4b563041
commit 0687057580
1 zmienionych plików z 3 dodań i 0 usunięć

3
main.c
Wyświetl plik

@ -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;