[FL-1984] USB-UART improvements and fixes (#785)
* [FL-1984] USB-UART fixes * FuriHal: fix SOF wait on CDC0 * FuriHal: fixed stuck in UART IRQ with ORE event Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
13
applications/gpio/usb_uart_bridge.h
Normal file
13
applications/gpio/usb_uart_bridge.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
uint8_t vcp_ch;
|
||||
uint8_t uart_ch;
|
||||
uint32_t baudrate;
|
||||
} UsbUartConfig;
|
||||
|
||||
void usb_uart_enable(UsbUartConfig* cfg);
|
||||
|
||||
void usb_uart_disable();
|
Reference in New Issue
Block a user