hosted/cmsis_dap: Fixed the naming of the cmsis_type_e enum

This commit is contained in:
dragonmux 2022-06-25 20:33:30 -04:00 committed by Piotr Esden-Tempski
parent 07321a4114
commit b713376ce7
1 changed files with 2 additions and 1 deletions

View File

@ -47,11 +47,12 @@ uint8_t mode;
#define TRANSFER_TIMEOUT_MS (100) #define TRANSFER_TIMEOUT_MS (100)
typedef enum cmsis_type_s { typedef enum cmsis_type_e {
CMSIS_TYPE_NONE = 0, CMSIS_TYPE_NONE = 0,
CMSIS_TYPE_HID, CMSIS_TYPE_HID,
CMSIS_TYPE_BULK CMSIS_TYPE_BULK
} cmsis_type_t; } cmsis_type_t;
/*- Variables ---------------------------------------------------------------*/ /*- Variables ---------------------------------------------------------------*/
static cmsis_type_t type; static cmsis_type_t type;
static libusb_device_handle *usb_handle = NULL; static libusb_device_handle *usb_handle = NULL;