mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-23 05:08:45 +00:00
[update][bsp_common][examples] sync demo and bsp common with hal driver"
This commit is contained in:
parent
b6c09e3e2b
commit
1f4fd9061d
27 changed files with 386 additions and 2288 deletions
|
@ -28,8 +28,10 @@ void shell_irq_callback(struct device *dev, void *args, uint32_t size, uint32_t
|
|||
{
|
||||
uint8_t data;
|
||||
if (state == UART_EVENT_RX_FIFO) {
|
||||
data = *(uint8_t *)args;
|
||||
shell_handler(data);
|
||||
for (size_t i = 0; i < size; i++) {
|
||||
data = *(uint8_t *)(args + i);
|
||||
shell_handler(data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue