CAN: Fix size of RX msg count field on the esp32
This commit fixes the size of the RX message count register field on the esp32.
This commit is contained in:
parent
95083233c5
commit
550ed39ea3
1 changed files with 2 additions and 2 deletions
|
@ -183,8 +183,8 @@ typedef volatile struct can_dev_s {
|
||||||
//Misc Registers
|
//Misc Registers
|
||||||
union {
|
union {
|
||||||
struct {
|
struct {
|
||||||
uint32_t rmc: 5; /* RMC[4:0] RX Message Counter */
|
uint32_t rmc: 7; /* RMC[6:0] RX Message Counter */
|
||||||
uint32_t reserved27: 27; /* Internal Reserved */
|
uint32_t reserved25: 25; /* Internal Reserved */
|
||||||
};
|
};
|
||||||
uint32_t val;
|
uint32_t val;
|
||||||
} rx_message_counter_reg; /* Address 29 */
|
} rx_message_counter_reg; /* Address 29 */
|
||||||
|
|
Loading…
Reference in a new issue