Skip to content

Commit e9dc8f3

Browse files
authored
fix wrong volatile usage in ohci gtd
1 parent 382f686 commit e9dc8f3

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)