aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic')
-rw-r--r--src/generic/usb_canbus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/generic/usb_canbus.c b/src/generic/usb_canbus.c
index 1631bebe..1a4ac869 100644
--- a/src/generic/usb_canbus.c
+++ b/src/generic/usb_canbus.c
@@ -13,6 +13,7 @@
#include "board/pgm.h" // PROGMEM
#include "board/usb_cdc_ep.h" // USB_CDC_EP_BULK_IN
#include "byteorder.h" // cpu_to_le16
+#include "command.h" // DECL_CONSTANT
#include "generic/usbstd.h" // struct usb_device_descriptor
#include "sched.h" // sched_wake_task
#include "usb_cdc.h" // usb_notify_ep0
@@ -125,6 +126,8 @@ enum {
HS_TX_LOCAL = 4,
};
+DECL_CONSTANT("CANBUS_BRIDGE", 1);
+
void
canbus_notify_tx(void)
{