mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
Fix typos in usb.c, llist_irqsafe.h and dfu.h
This commit is contained in:
@@ -78,8 +78,8 @@ extern const USBDDriverDescriptors dfu_descriptors;
|
||||
|
||||
/* no DFU bootloader is being used */
|
||||
#define DFURT_NUM_IF 0
|
||||
#define DFURT_IF_DESCRIPTOR_STRUCT(a, b)
|
||||
#define DFURT_IF_DESCRIPTOR
|
||||
#define DFURT_IF_DESCRIPTOR_STRUCT
|
||||
#define DFURT_IF_DESCRIPTOR(a, b)
|
||||
|
||||
#endif /* BOARD_USB_DFU */
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ static inline void llist_add_irqsafe(struct llist_head *_new,
|
||||
|
||||
local_irq_save(x);
|
||||
llist_add(_new, head);
|
||||
local_irq_retsore(x);
|
||||
local_irq_restore(x);
|
||||
}
|
||||
|
||||
static inline void llist_add_tail_irqsafe(struct llist_head *_new,
|
||||
|
||||
@@ -268,7 +268,7 @@ static const SIMTraceDriverConfigurationDescriptorPhone
|
||||
#ifdef CARDEMU_SECOND_UART
|
||||
.bNumInterfaces = 2+DFURT_NUM_IF,
|
||||
#else
|
||||
.bNumInterefaces = 1+DFURT_NUM_IF,
|
||||
.bNumInterfaces = 1+DFURT_NUM_IF,
|
||||
#endif
|
||||
.bConfigurationValue = CFG_NUM_PHONE,
|
||||
.iConfiguration = PHONE_CONF_STR,
|
||||
@@ -506,7 +506,7 @@ static const SIMTraceDriverConfigurationDescriptorMITM
|
||||
.bAlternateSetting = 0,
|
||||
.bNumEndpoints = 3,
|
||||
.bInterfaceClass = 0xff,
|
||||
.bInterfaceSubClass = SIMTRAC_SUBCLASS_CARDEM,
|
||||
.bInterfaceSubClass = SIMTRACE_SUBCLASS_CARDEM,
|
||||
.bInterfaceProtocol = 0,
|
||||
.iInterface = PHONE_CONF_STR,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user