From 18aa28258a8a7f25ed06038ddd799be08541c030 Mon Sep 17 00:00:00 2001 From: lyon Date: Sat, 31 Dec 2022 12:34:41 +0800 Subject: [PATCH] add support for bl808 --- package/BLIOT/pika_hal_BLIOT_UART.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/BLIOT/pika_hal_BLIOT_UART.c b/package/BLIOT/pika_hal_BLIOT_UART.c index 7fd1a15eb..bf132cbb7 100644 --- a/package/BLIOT/pika_hal_BLIOT_UART.c +++ b/package/BLIOT/pika_hal_BLIOT_UART.c @@ -82,9 +82,11 @@ int pika_hal_platform_UART_ioctl_config(pika_dev* dev, case PIKA_HAL_UART_STOP_BITS_2: platform_uart->config.stop_bits = HOSAL_STOP_BITS_2; break; +#if !defined(BL808) case PIKA_HAL_UART_STOP_BITS_1_5: platform_uart->config.stop_bits = HOSAL_STOP_BITS_1_5; break; +#endif default: platform_uart->config.stop_bits = HOSAL_STOP_BITS_1; break;