From 398af3d18b278d4dbf89538db5dd3f62d9e4b3bd Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 3 May 2020 00:20:54 -0400 Subject: [PATCH] looks like a better variable name --- firmware/console/console_io.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/console/console_io.cpp b/firmware/console/console_io.cpp index bb181451ee..ccc7ba53bc 100644 --- a/firmware/console/console_io.cpp +++ b/firmware/console/console_io.cpp @@ -227,17 +227,17 @@ bool isCommandLineConsoleReady(void) { #if !defined(EFI_CONSOLE_NO_THREAD) -static ts_channel_s binaryConsole; +static ts_channel_s primaryChannel; static THD_WORKING_AREA(consoleThreadStack, 3 * UTILITY_THREAD_STACK_SIZE); static THD_FUNCTION(consoleThreadEntryPoint, arg) { (void) arg; chRegSetThreadName("console thread"); - binaryConsole.channel = (BaseChannel *) getConsoleChannel(); - if (binaryConsole.channel != NULL) { + primaryChannel.channel = (BaseChannel *) getConsoleChannel(); + if (primaryChannel.channel != NULL) { #if EFI_TUNER_STUDIO - runBinaryProtocolLoop(&binaryConsole); + runBinaryProtocolLoop(&primaryChannel); #endif /* EFI_TUNER_STUDIO */ } }