mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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
6823364442
commit
4741e6787d
@ -147,8 +147,8 @@ typedef struct can_acc_filter_s {
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
uint32_t rx_message_counter: 5; /* RMC[4:0] RX Message Counter */
|
||||
uint32_t reserved27: 27; /* Internal Reserved */
|
||||
uint32_t rx_message_counter: 7; /* RMC[6:0] RX Message Counter */
|
||||
uint32_t reserved25: 25; /* Internal Reserved */
|
||||
};
|
||||
uint32_t val;
|
||||
} can_rx_msg_cnt_reg_t;
|
||||
|
Loading…
Reference in New Issue
Block a user