aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/fdcan.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-06-11 19:37:30 -0400
committerKevin O'Connor <kevin@koconnor.net>2022-06-27 10:50:23 -0400
commitc8cc98ce5dce3771cf2728eee7b1bdb026504f75 (patch)
tree9a381181998d1a33c39b2c9c16697c5a9e038f90 /src/stm32/fdcan.c
parent11828387d93f1f68107858d98fc81e2e29b5edf6 (diff)
downloadkutter-c8cc98ce5dce3771cf2728eee7b1bdb026504f75.tar.gz
kutter-c8cc98ce5dce3771cf2728eee7b1bdb026504f75.tar.xz
kutter-c8cc98ce5dce3771cf2728eee7b1bdb026504f75.zip
canserial: Rename canbus.c to canserial.c
Rename the canbus.c code to canserial.c and introduce new wrapper functions in canbus.c that connect the low-level canbus hardware code to the high-level canserial.c code. This is in preparation for adding "usb to canbus bridge mode". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/fdcan.c')
-rwxr-xr-xsrc/stm32/fdcan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm32/fdcan.c b/src/stm32/fdcan.c
index 3af9ffa8..c142420e 100755
--- a/src/stm32/fdcan.c
+++ b/src/stm32/fdcan.c
@@ -12,6 +12,7 @@
#include "command.h" // DECL_CONSTANT_STR
#include "generic/armcm_boot.h" // armcm_enable_irq
#include "generic/canbus.h" // canbus_notify_tx
+#include "generic/canserial.h" // CANBUS_ID_ADMIN
#include "generic/serial_irq.h" // serial_rx_byte
#include "internal.h" // enable_pclock
#include "sched.h" // DECL_INIT