1
0
Fork 0
forked from nuttx/nuttx-update

xmc4/spi: fix typo

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-11-30 17:15:02 +08:00 committed by Xiang Xiao
parent 09c17fcfa8
commit 7b1f22ca18
3 changed files with 4 additions and 4 deletions

View file

@ -60,7 +60,7 @@ void weak_function xmc4_spidev_initialize(void)
/* Configure SPI2 chip selects */
#if define(CONFIG_XMC4_SPI2) && defined(CONFIG_SENSORS_MAX6675)
#if defined(CONFIG_XMC4_SPI2) && defined(CONFIG_SENSORS_MAX6675)
xmc4_gpio_config(GPIO_CS_MAX6675);
#endif

View file

@ -324,7 +324,7 @@ int bthci_register(void)
ret = uart_bth4_register("/dev/ttyHCI0", &hci_dev->drv);
#elif defined(CONFIG_NET_BLUETOOTH)
ret = bt_netdev_register(&hci_dev->drv);
#elif defined(BL602_BLE_CONTROLLER)
#elif defined(CONFIG_BL602_BLE_CONTROLLER)
#error "Must select CONFIG_UART_BTH4 or CONFIG_NET_BLUETOOTH"
#endif
if (ret < 0)

View file

@ -11,7 +11,7 @@ config NFS
---help---
Enable network file system (NFS) client file system
#if NFS
if NFS
config NFS_DONT_BIND_TCP_SOCKET
bool
@ -31,4 +31,4 @@ config NFS_STATISTICS
obtain these statistics, however. So they would only be of value
if you add debug instrumentation or use a debugger.
#endif
endif