looks like a better variable name
This commit is contained in:
parent
6a8ec58b94
commit
3e863859fe
|
@ -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 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue