stm32: canio: remove some unneeded declarations

This commit is contained in:
Jeff Epler 2020-10-05 12:41:31 -05:00
parent 7df01d3fbd
commit 23bd2496de
2 changed files with 1 additions and 8 deletions

View File

@ -32,6 +32,7 @@
#include "common-hal/canio/__init__.h" #include "common-hal/canio/__init__.h"
#include "common-hal/canio/Listener.h" #include "common-hal/canio/Listener.h"
#include "shared-bindings/canio/Listener.h"
#include "shared-bindings/util.h" #include "shared-bindings/util.h"
#include "supervisor/shared/tick.h" #include "supervisor/shared/tick.h"
#include "supervisor/shared/safe_mode.h" #include "supervisor/shared/safe_mode.h"

View File

@ -37,11 +37,3 @@ typedef struct canio_listener_obj {
uint32_t timeout_ms; uint32_t timeout_ms;
uint8_t fifo_idx; uint8_t fifo_idx;
} canio_listener_obj_t; } canio_listener_obj_t;
void common_hal_canio_listener_construct(canio_listener_obj_t *self, canio_can_obj_t *can, size_t nmatch, canio_match_obj_t **matches, float timeout);
void common_hal_canio_listener_check_for_deinit(canio_listener_obj_t *self);
void common_hal_canio_listener_deinit(canio_listener_obj_t *self);
bool common_hal_canio_listener_receiveinto(canio_listener_obj_t *self, canio_message_obj_t *message);
int common_hal_canio_listener_in_waiting(canio_listener_obj_t *self);
float common_hal_canio_listener_get_timeout(canio_listener_obj_t *self);
void common_hal_canio_listener_set_timeout(canio_listener_obj_t *self, float timeout);