Skip to content

Commit 3e97e9c

Browse files
committed
canio: Listener: shuffle function declarations around
1 parent ea2f5b6 commit 3e97e9c

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

ports/atmel-samd/common-hal/canio/Listener.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
#include "common-hal/canio/__init__.h"
3434
#include "common-hal/canio/Listener.h"
35+
#include "shared-bindings/canio/Listener.h"
3536
#include "shared-bindings/util.h"
3637
#include "supervisor/shared/tick.h"
3738
#include "component/can.h"

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,3 @@ typedef struct canio_listener_obj {
4343
uint32_t timeout_ms;
4444
uint8_t fifo_idx;
4545
} canio_listener_obj_t;
46-
47-
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);
48-
void common_hal_canio_listener_check_for_deinit(canio_listener_obj_t *self);
49-
void common_hal_canio_listener_deinit(canio_listener_obj_t *self);
50-
bool common_hal_canio_listener_receiveinto(canio_listener_obj_t *self, canio_message_obj_t *message);
51-
int common_hal_canio_listener_in_waiting(canio_listener_obj_t *self);
52-
float common_hal_canio_listener_get_timeout(canio_listener_obj_t *self);
53-
void common_hal_canio_listener_set_timeout(canio_listener_obj_t *self, float timeout);

0 commit comments

Comments
 (0)