This commit is contained in:
rusEfi 2019-05-04 10:31:04 -04:00
parent defed58b19
commit 028a1af39b
1 changed files with 3 additions and 4 deletions

View File

@ -60,6 +60,7 @@ void onDataArrived(void) {
* @retval TRUE the channel was reset or CTRL-D pressed. * @retval TRUE the channel was reset or CTRL-D pressed.
* @retval FALSE operation successful. * @retval FALSE operation successful.
*/ */
/* let's keep this dead code for a bit
static bool getConsoleLine(BaseSequentialStream *chp, char *line, unsigned size) { static bool getConsoleLine(BaseSequentialStream *chp, char *line, unsigned size) {
char *p = line; char *p = line;
@ -89,9 +90,7 @@ static bool getConsoleLine(BaseSequentialStream *chp, char *line, unsigned size)
#endif #endif
#if EFI_UART_ECHO_TEST_MODE #if EFI_UART_ECHO_TEST_MODE
/** // That's test code - let's test connectivity
* That's test code - let's test connectivity
*/
consolePutChar((uint8_t) c); consolePutChar((uint8_t) c);
continue; continue;
#endif #endif
@ -129,7 +128,7 @@ static bool getConsoleLine(BaseSequentialStream *chp, char *line, unsigned size)
} }
} }
} }
*/
CommandHandler console_line_callback; CommandHandler console_line_callback;
#if (defined(EFI_CONSOLE_UART_DEVICE) && ! EFI_SIMULATOR ) #if (defined(EFI_CONSOLE_UART_DEVICE) && ! EFI_SIMULATOR )