mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 19:54:56 +00:00
use uint8_t for fifo struct in uart and i2c
This commit is contained in:
@@ -97,8 +97,8 @@ typedef volatile struct {
|
||||
}fifo_conf;
|
||||
union {
|
||||
struct {
|
||||
uint32_t data: 8; /*The register represent the byte data read from rx_fifo when use apb fifo access*/
|
||||
uint32_t reserved8: 24;
|
||||
uint8_t data; /*The register represent the byte data read from rx_fifo when use apb fifo access*/
|
||||
uint8_t reserved[3];
|
||||
};
|
||||
uint32_t val;
|
||||
}fifo_data;
|
||||
|
Reference in New Issue
Block a user