mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
add support for bl808
This commit is contained in:
parent
dfd5c8e9d4
commit
18aa28258a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user