canio: remove unused fields

these relate to properties that were removed as well
This commit is contained in:
Jeff Epler 2020-10-06 20:14:50 -05:00
parent 81d7ef0256
commit 16ed875f4e
2 changed files with 0 additions and 6 deletions

View File

@ -41,9 +41,6 @@ typedef struct canio_can_obj {
mp_obj_base_t base; mp_obj_base_t base;
Can *hw; Can *hw;
canio_can_state_t *state; canio_can_state_t *state;
volatile uint32_t error_warning_state_count;
volatile uint32_t error_passive_state_count;
volatile uint32_t bus_off_state_count;
int baudrate; int baudrate;
uint8_t rx_pin_number:8; uint8_t rx_pin_number:8;
uint8_t tx_pin_number:8; uint8_t tx_pin_number:8;

View File

@ -42,9 +42,6 @@ typedef struct canio_can_obj {
mp_obj_base_t base; mp_obj_base_t base;
CAN_HandleTypeDef handle; CAN_HandleTypeDef handle;
CAN_TypeDef *filter_hw; CAN_TypeDef *filter_hw;
volatile uint32_t error_warning_state_count;
volatile uint32_t error_passive_state_count;
volatile uint32_t bus_off_state_count;
int baudrate; int baudrate;
const mcu_pin_obj_t *rx_pin; const mcu_pin_obj_t *rx_pin;
const mcu_pin_obj_t *tx_pin; const mcu_pin_obj_t *tx_pin;