From 418a87af4c722c109666f8c8484f51908ec72721 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 29 Jan 2021 16:33:13 +0800 Subject: [PATCH] arch/sim: Fix typo error(HCITTY->BTUART) Signed-off-by: Xiang Xiao --- arch/sim/Kconfig | 2 +- arch/sim/src/sim/up_idle.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sim/Kconfig b/arch/sim/Kconfig index c1ab957f26..5bf2ab3ced 100644 --- a/arch/sim/Kconfig +++ b/arch/sim/Kconfig @@ -551,7 +551,7 @@ config SIM_BTUART target via HCI_CHANNEL_USER. This gives NuttX full control of the device, but is abstracted from the physical interface which is still handled by Linux. - Unlike SIM_HCISOCKET, HCITTY will wrap the bluetooth + Unlike SIM_HCISOCKET, BTUART will wrap the bluetooth interface/controller as a TTY device, which provides an option for developers to setup the bluetooth host in userspace. diff --git a/arch/sim/src/sim/up_idle.c b/arch/sim/src/sim/up_idle.c index 1180ef328c..d71050aad5 100644 --- a/arch/sim/src/sim/up_idle.c +++ b/arch/sim/src/sim/up_idle.c @@ -115,7 +115,7 @@ void up_idle(void) bthcisock_loop(); #endif -#ifdef CONFIG_SIM_HCITTY +#ifdef CONFIG_SIM_BTUART sim_btuart_loop(); #endif