From c14118e9c6e3b13ae2d443b58f8fc17dc7d31ebd Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 13 May 2022 11:22:47 -0400 Subject: [PATCH] misc: Import misc.h in all files defining console_sendf() Signed-off-by: Kevin O'Connor --- src/generic/canbus.c | 1 + src/generic/usb_cdc.c | 1 + src/pru/pru0.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/generic/canbus.c b/src/generic/canbus.c index f1dad27f..a9bf3c8b 100644 --- a/src/generic/canbus.c +++ b/src/generic/canbus.c @@ -11,6 +11,7 @@ #include "command.h" // DECL_CONSTANT #include "generic/io.h" // readb #include "generic/irq.h" // irq_disable +#include "generic/misc.h" // console_sendf #include "board/internal.h" // NVIC_SystemReset #include "sched.h" // sched_wake_task diff --git a/src/generic/usb_cdc.c b/src/generic/usb_cdc.c index 577a8635..3a033cc9 100644 --- a/src/generic/usb_cdc.c +++ b/src/generic/usb_cdc.c @@ -6,6 +6,7 @@ #include // memmove #include "autoconf.h" // CONFIG_USB_VENDOR_ID +#include "board/misc.h" // console_sendf #include "board/pgm.h" // PROGMEM #include "board/usb_cdc_ep.h" // USB_CDC_EP_BULK_IN #include "byteorder.h" // cpu_to_le16 diff --git a/src/pru/pru0.c b/src/pru/pru0.c index 32dd2861..efede044 100644 --- a/src/pru/pru0.c +++ b/src/pru/pru0.c @@ -14,6 +14,7 @@ #include // VIRTIO_ID_RPMSG #include // resource_table #include "board/io.h" // readl +#include "board/misc.h" // console_sendf #include "command.h" // command_encode_add_frame #include "compiler.h" // __section #include "internal.h" // SHARED_MEM