From 6b391fa4e4183d01d8ba4c98707c7fe4b4269a52 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Tue, 24 Feb 2015 16:04:22 -0600 Subject: [PATCH] auto-sync --- firmware/console/console_io.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/firmware/console/console_io.c b/firmware/console/console_io.c index 8ef9ec3fd6..ba867035d6 100644 --- a/firmware/console/console_io.c +++ b/firmware/console/console_io.c @@ -23,9 +23,9 @@ #include "rfiutil.h" #if HAL_USE_SERIAL_USB || defined(__DOXYGEN__) - #include "usbcfg.h" - #include "usbconsole.h" - extern SerialUSBDriver SDU1; +#include "usbcfg.h" +#include "usbconsole.h" +extern SerialUSBDriver SDU1; #endif int lastWriteSize; @@ -82,7 +82,7 @@ static bool getConsoleLine(BaseSequentialStream *chp, char *line, unsigned size) if (c < 0 || c == 4) { return TRUE; - } + } if (c == 8) { if (p != line) { // backspace @@ -101,7 +101,7 @@ static bool getConsoleLine(BaseSequentialStream *chp, char *line, unsigned size) } if (c < 0x20) { continue; - } + } if (p < line + size - 1) { consolePutChar((uint8_t) c); *p++ = (char) c;