From 901f97310023e076a732b39526e3da52b7d40be5 Mon Sep 17 00:00:00 2001 From: "Andrew J. Kroll" Date: Mon, 10 Jun 2013 18:17:37 -0400 Subject: [PATCH] Serial, flush is not multitask safe. --- message.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/message.cpp b/message.cpp index 58538796..97809b16 100644 --- a/message.cpp +++ b/message.cpp @@ -28,7 +28,7 @@ void E_Notifyc(char c, int lvl) { #else USB_HOST_SERIAL.print(c, BYTE); #endif - USB_HOST_SERIAL.flush(); + //USB_HOST_SERIAL.flush(); } void E_Notify(char const * msg, int lvl) { @@ -54,13 +54,13 @@ void E_Notify(uint8_t b, int lvl) { #else USB_HOST_SERIAL.print(b, DEC); #endif - USB_HOST_SERIAL.flush(); + //USB_HOST_SERIAL.flush(); } void E_Notify(double d, int lvl) { if (UsbDEBUGlvl < lvl) return; USB_HOST_SERIAL.print(d); - USB_HOST_SERIAL.flush(); + //USB_HOST_SERIAL.flush(); } #ifdef DEBUG_USB_HOST