looks like a better variable name

This commit is contained in:
rusefi 2020-05-03 00:20:54 -04:00
parent 2d5e75cbd1
commit 398af3d18b
1 changed files with 4 additions and 4 deletions

View File

@ -227,17 +227,17 @@ bool isCommandLineConsoleReady(void) {
#if !defined(EFI_CONSOLE_NO_THREAD) #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_WORKING_AREA(consoleThreadStack, 3 * UTILITY_THREAD_STACK_SIZE);
static THD_FUNCTION(consoleThreadEntryPoint, arg) { static THD_FUNCTION(consoleThreadEntryPoint, arg) {
(void) arg; (void) arg;
chRegSetThreadName("console thread"); chRegSetThreadName("console thread");
binaryConsole.channel = (BaseChannel *) getConsoleChannel(); primaryChannel.channel = (BaseChannel *) getConsoleChannel();
if (binaryConsole.channel != NULL) { if (primaryChannel.channel != NULL) {
#if EFI_TUNER_STUDIO #if EFI_TUNER_STUDIO
runBinaryProtocolLoop(&binaryConsole); runBinaryProtocolLoop(&primaryChannel);
#endif /* EFI_TUNER_STUDIO */ #endif /* EFI_TUNER_STUDIO */
} }
} }