diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-12-14 14:15:14 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-12-14 14:15:14 -0500 |
commit | 52a6bed24e312a595f5569bab19db67f68cc055a (patch) | |
tree | 0e5232735ef7d3e6870eb02dd1895296b9994b78 /src/rp2040 | |
parent | e16a693b1ebbbd812159a766cf61afc6be7aa797 (diff) | |
download | kutter-52a6bed24e312a595f5569bab19db67f68cc055a.tar.gz kutter-52a6bed24e312a595f5569bab19db67f68cc055a.tar.xz kutter-52a6bed24e312a595f5569bab19db67f68cc055a.zip |
canbus: Rename canbus_send() to canhw_send()
Rename canbus_send() to canhw_send() and rename canbus_set_filter() to
canhw_set_filter(). This makes it more clear where the code should
reside.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/rp2040')
-rw-r--r-- | src/rp2040/can.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rp2040/can.c b/src/rp2040/can.c index 9c42cf36..6cae2a7f 100644 --- a/src/rp2040/can.c +++ b/src/rp2040/can.c @@ -26,7 +26,7 @@ static struct can2040 cbus; // Transmit a packet int -canbus_send(struct canbus_msg *msg) +canhw_send(struct canbus_msg *msg) { int ret = can2040_transmit(&cbus, (void*)msg); if (ret < 0) @@ -36,7 +36,7 @@ canbus_send(struct canbus_msg *msg) // Setup the receive packet filter void -canbus_set_filter(uint32_t id) +canhw_set_filter(uint32_t id) { // Filter not implemented (and not necessary) } |