 732b9546fc
			
		
	
	
		732b9546fc
		
			
		
	
	
	
	
		
			
			* [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>
		
			
				
	
	
		
			14 lines
		
	
	
		
			202 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			202 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #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();
 |