summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-04-27 20:52:56 +0700
committerhathach <[email protected]>2022-04-27 20:52:56 +0700
commitae5490e5a5cd8650a45578b4ac70dbe89b002fb1 (patch)
treee8aa3de0a30163bff20ae5d4079270ed00e5e3fc /src/device
parent4a661dead0899cb154325a8257d19281f2536af3 (diff)
clean up
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 4c2cd3abd..e545e8056 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -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