aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/canbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/canbus.c')
-rw-r--r--src/generic/canbus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/generic/canbus.c b/src/generic/canbus.c
index a4f33aa1..941ccd00 100644
--- a/src/generic/canbus.c
+++ b/src/generic/canbus.c
@@ -4,8 +4,12 @@
//
// This file may be distributed under the terms of the GNU GPLv3 license.
+#include "autoconf.h" // CONFIG_CANBUS_FREQUENCY
#include "canbus.h" // canbus_send
#include "canserial.h" // canserial_send
+#include "command.h" // DECL_CONSTANT
+
+DECL_CONSTANT("CANBUS_FREQUENCY", CONFIG_CANBUS_FREQUENCY);
int
canserial_send(struct canbus_msg *msg)