From d209f40ff15bd9eaec5f69e8f5faeb9ccfeaaa29 Mon Sep 17 00:00:00 2001 From: elagil Date: Thu, 9 Nov 2023 22:46:51 +0100 Subject: [PATCH] fix: missing NO_LIBOPENCM3 check --- src/include/gdb_if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/gdb_if.h b/src/include/gdb_if.h index 29303c6b7b3..332683c212b 100644 --- a/src/include/gdb_if.h +++ b/src/include/gdb_if.h @@ -21,7 +21,7 @@ #ifndef INCLUDE_GDB_IF_H #define INCLUDE_GDB_IF_H -#if PC_HOSTED == 0 +#if PC_HOSTED == 0 && !defined(NO_LIBOPENCM3) #include void gdb_usb_out_cb(usbd_device *dev, uint8_t ep); #endif