Skip to content

Commit 8469faf

Browse files
authored
Merge pull request #2479 from hathach/fix-ohci-volatile-2318
fix wrong volatile usage in ohci gtd
2 parents 382f686 + e9dc8f3 commit 8469faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/portable/ohci/ohci.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ typedef struct TU_ATTR_ALIGNED(16)
8383
volatile uint32_t condition_code : 4;
8484

8585
// Word 1
86-
volatile uint8_t* current_buffer_pointer;
86+
uint8_t* volatile current_buffer_pointer;
8787

8888
// Word 2 : next TD
8989
volatile uint32_t next;

0 commit comments

Comments
 (0)