Add SERIAL_FLUSH and SERIAL_FLUSHTX macros

This commit is contained in:
Scott Lahteine 2018-02-16 17:50:58 -06:00
parent a8a64f19f4
commit 023d21a1cf
5 changed files with 15 additions and 10 deletions

View file

@ -199,7 +199,7 @@
if (map_type == 1 && i < GRID_MAX_POINTS_X - 1) SERIAL_CHAR(',');
#if TX_BUFFER_SIZE > 0
MYSERIAL0.flushTX();
SERIAL_FLUSHTX();
#endif
safe_delay(15);
if (map_type == 0) {