formatting
This commit is contained in:
@@ -131,7 +131,8 @@ enum {
|
||||
};
|
||||
|
||||
//------------- SIE Command Code -------------//
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
SIE_CMDPHASE_WRITE = 1,
|
||||
SIE_CMDPHASE_READ = 2,
|
||||
SIE_CMDPHASE_COMMAND = 5
|
||||
@@ -176,7 +177,8 @@ enum {
|
||||
SIE_SELECT_ENDPOINT_BUFFER2_FULL_MASK = BIT_(6)
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
SIE_SET_ENDPOINT_STALLED_MASK = BIT_(0),
|
||||
SIE_SET_ENDPOINT_DISABLED_MASK = BIT_(5),
|
||||
SIE_SET_ENDPOINT_RATE_FEEDBACK_MASK = BIT_(6),
|
||||
|
||||
@@ -114,7 +114,8 @@ bool tusbd_is_configured(uint8_t coreid)
|
||||
//------------- OSAL Task -------------//
|
||||
enum { USBD_TASK_QUEUE_DEPTH = 16 };
|
||||
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
USBD_EVENTID_SETUP_RECEIVED = 1,
|
||||
USBD_EVENTID_XFER_DONE
|
||||
}usbd_eventid_t;
|
||||
|
||||
@@ -59,7 +59,8 @@ enum {
|
||||
USBD_INTERFACE_NUM_MAX = 16 // USB specs specify up to 16 endpoints per device
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
USBD_BUS_EVENT_RESET = 1,
|
||||
USBD_BUS_EVENT_UNPLUGGED,
|
||||
USBD_BUS_EVENT_SUSPENDED,
|
||||
|
||||
Reference in New Issue
Block a user