File tree 1 file changed +0
-15
lines changed
ports/stm/common-hal/canio
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -181,21 +181,6 @@ int common_hal_canio_can_receive_error_count_get(canio_can_obj_t *self)
181
181
return (self -> handle .Instance -> ESR & CAN_ESR_REC ) >> CAN_ESR_REC_Pos ;
182
182
}
183
183
184
- int common_hal_canio_can_error_warning_state_count_get (canio_can_obj_t * self )
185
- {
186
- return self -> error_warning_state_count ;
187
- }
188
-
189
- int common_hal_canio_can_error_passive_state_count_get (canio_can_obj_t * self )
190
- {
191
- return self -> error_passive_state_count ;
192
- }
193
-
194
- int common_hal_canio_can_bus_off_state_count_get (canio_can_obj_t * self )
195
- {
196
- return self -> bus_off_state_count ;
197
- }
198
-
199
184
canio_bus_state_t common_hal_canio_can_state_get (canio_can_obj_t * self ) {
200
185
uint32_t esr = self -> handle .Instance -> ESR ;
201
186
if (READ_BIT (esr , CAN_ESR_BOFF )) {
You can’t perform that action at this time.
0 commit comments