Merge pull request #2479 from hathach/fix-ohci-volatile-2318

fix wrong volatile usage in ohci gtd
This commit is contained in:
Ha Thach 2024-02-19 18:35:09 +07:00 committed by GitHub
commit 8469fafb10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,7 +83,7 @@ typedef struct TU_ATTR_ALIGNED(16)
volatile uint32_t condition_code : 4; volatile uint32_t condition_code : 4;
// Word 1 // Word 1
volatile uint8_t* current_buffer_pointer; uint8_t* volatile current_buffer_pointer;
// Word 2 : next TD // Word 2 : next TD
volatile uint32_t next; volatile uint32_t next;