summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-02-19 18:12:03 +0700
committerGitHub <[email protected]>2024-02-19 18:12:03 +0700
commite9dc8f3e7dc6799ad674139df97e253acc71f4d7 (patch)
treee4b8fe4ada2af7d8834564b5735c546dbf96fc5b
parent382f686f19afc069f8c20347f87c651d737009b2 (diff)
fix wrong volatile usage in ohci gtd
-rw-r--r--src/portable/ohci/ohci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/ohci/ohci.h b/src/portable/ohci/ohci.h
index 4feefd771..94bad5df7 100644
--- a/src/portable/ohci/ohci.h
+++ b/src/portable/ohci/ohci.h
@@ -83,7 +83,7 @@ typedef struct TU_ATTR_ALIGNED(16)
volatile uint32_t condition_code : 4;
// Word 1
- volatile uint8_t* current_buffer_pointer;
+ uint8_t* volatile current_buffer_pointer;
// Word 2 : next TD
volatile uint32_t next;