* USB-UART: new gui * Furi: use furi_console for logging instead of printf. * CDC: calling open/close callbacks on interface change * fix vcp_tx block on disconnect * USB mode set by struct pointer * FuriHal: proper event sequence on vcp reconnect * disable debug prints * HAL: add context to UART IRQ's * Context usage in UART IRQ and CDC callbacks * USB-UART: geting rid of baudrate limitations * FuriHal: remove struct pollutant in usb api. Co-authored-by: あく <alleteam@gmail.com> Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			204 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			204 B
		
	
	
	
		
			C
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#include "usb.h"
 | 
						|
 | 
						|
#define USB_EP0_SIZE 8
 | 
						|
 | 
						|
/* String descriptors */
 | 
						|
enum UsbDevDescStr{
 | 
						|
    UsbDevLang      = 0,
 | 
						|
    UsbDevManuf     = 1,
 | 
						|
    UsbDevProduct   = 2,
 | 
						|
    UsbDevSerial    = 3,
 | 
						|
};
 |