This commit is contained in:
hathach
2022-04-27 20:52:56 +07:00
parent 4a661dead0
commit ae5490e5a5
7 changed files with 12 additions and 17 deletions

View File

@@ -265,7 +265,7 @@ static inline usbd_class_driver_t const * get_driver(uint8_t drvid)
//--------------------------------------------------------------------+
enum { RHPORT_INVALID = 0xFFu };
static volatile uint8_t _usbd_rhport = RHPORT_INVALID;
static uint8_t _usbd_rhport = RHPORT_INVALID;
// Event queue
// usbd_int_set() is used as mutex in OS NONE config