bugfix: fix uart fifo lost data issue

This commit is contained in:
wuzhenghui
2022-11-09 19:17:35 +08:00
committed by laokaiyao
parent 26e5d16c47
commit e90d76e5b7
2 changed files with 3 additions and 4 deletions

View File

@@ -19,8 +19,7 @@ typedef union {
/** rxfifo_rd_byte : RO; bitpos: [7:0]; default: 0;
* UART $n accesses FIFO via this register.
*/
uint32_t rxfifo_rd_byte:8;
uint32_t reserved_8:24;
uint32_t rxfifo_rd_byte:32;
};
uint32_t val;
} uart_fifo_reg_t;