mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
Add space before error, bt_driver_register_internal not trigger error, add defconfig DRIVERS_BLUETOOTH.
Signed-off-by: chengkai <chengkai@xiaomi.com>
This commit is contained in:
@@ -62,7 +62,7 @@ static int bt_driver_register_internal(FAR struct bt_driver_s *driver,
|
||||
#elif defined(CONFIG_NET_BLUETOOTH)
|
||||
return bt_netdev_register(driver);
|
||||
#else
|
||||
# error "Please select CONFIG_UART_BTH4 or CONFIG_NET_BLUETOOTH"
|
||||
return -ENOSYS;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user