summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-10-06 20:14:50 -0500
committerJeff Epler <jepler@gmail.com>2020-10-06 20:14:50 -0500
commit16ed875f4e88fbf0ecd9f5fa71b1c28d7a5e444b (patch)
treeb56f6a32c7c105ff58587ea20b88fb91951fc380 /ports
parent81d7ef0256d5450e56809c5fe198693cc6cb9925 (diff)
canio: remove unused fields
these relate to properties that were removed as well
Diffstat (limited to 'ports')
-rw-r--r--ports/atmel-samd/common-hal/canio/CAN.h3
-rw-r--r--ports/stm/common-hal/canio/CAN.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/ports/atmel-samd/common-hal/canio/CAN.h b/ports/atmel-samd/common-hal/canio/CAN.h
index cdea60e7d..15ac0f4b7 100644
--- a/ports/atmel-samd/common-hal/canio/CAN.h
+++ b/ports/atmel-samd/common-hal/canio/CAN.h
@@ -41,9 +41,6 @@ typedef struct canio_can_obj {
mp_obj_base_t base;
Can *hw;
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;
uint8_t rx_pin_number:8;
uint8_t tx_pin_number:8;
diff --git a/ports/stm/common-hal/canio/CAN.h b/ports/stm/common-hal/canio/CAN.h
index 94d7e99a8..3157d0a03 100644
--- a/ports/stm/common-hal/canio/CAN.h
+++ b/ports/stm/common-hal/canio/CAN.h
@@ -42,9 +42,6 @@ typedef struct canio_can_obj {
mp_obj_base_t base;
CAN_HandleTypeDef handle;
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;
const mcu_pin_obj_t *rx_pin;
const mcu_pin_obj_t *tx_pin;