Skip to content

Commit 16ed875

Browse files
committed
canio: remove unused fields
these relate to properties that were removed as well
1 parent 81d7ef0 commit 16ed875

File tree

2 files changed

+0
-6
lines changed
  • ports
    • atmel-samd/common-hal/canio
    • stm/common-hal/canio

2 files changed

+0
-6
lines changed

ports/atmel-samd/common-hal/canio/CAN.h

-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ typedef struct canio_can_obj {
4141
mp_obj_base_t base;
4242
Can *hw;
4343
canio_can_state_t *state;
44-
volatile uint32_t error_warning_state_count;
45-
volatile uint32_t error_passive_state_count;
46-
volatile uint32_t bus_off_state_count;
4744
int baudrate;
4845
uint8_t rx_pin_number:8;
4946
uint8_t tx_pin_number:8;

ports/stm/common-hal/canio/CAN.h

-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ typedef struct canio_can_obj {
4242
mp_obj_base_t base;
4343
CAN_HandleTypeDef handle;
4444
CAN_TypeDef *filter_hw;
45-
volatile uint32_t error_warning_state_count;
46-
volatile uint32_t error_passive_state_count;
47-
volatile uint32_t bus_off_state_count;
4845
int baudrate;
4946
const mcu_pin_obj_t *rx_pin;
5047
const mcu_pin_obj_t *tx_pin;

0 commit comments

Comments
 (0)