diff options
| author | Mateusz Holenko <[email protected]> | 2020-01-14 13:37:45 +0100 |
|---|---|---|
| committer | Mateusz Holenko <[email protected]> | 2020-01-14 13:57:17 +0100 |
| commit | c1781e5e7c47e716a558f388beb96454d4bf8627 (patch) | |
| tree | 2b9d9b071de127a8b4e449cb45487b449176f090 /lib/FreeRTOS/Source/include/queue.h | |
| parent | 679821e9174f9410960f974eefd46a94e74cfeda (diff) | |
dcd_eptri: Fix rx_buffer/tx_buffer volatile annotation
This makes `rx_buffer` and `tx_buffer` *pointers*
volatile in order to avoid caching them in a register.
The original notation meant "a pointer to a volatile value"
(equivalent of `volatile uint8_t *`). This resulted in
`while(rx_buffer[ep_num] != NULL) ;` loop to get stuck
forever, even though the IRQ handler set the `rx_buffer[ep_num] = NULL`.
Diffstat (limited to 'lib/FreeRTOS/Source/include/queue.h')
0 files changed, 0 insertions, 0 deletions
