Skip to content

Commit

Permalink
misc: add missing NO_LIBOPENCM3 check
Browse files Browse the repository at this point in the history
  • Loading branch information
elagil committed Nov 12, 2023
1 parent 406896d commit 9b9bdfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/gdb_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <libopencm3/usb/usbd.h>
void gdb_usb_out_cb(usbd_device *dev, uint8_t ep);
#endif
Expand Down

0 comments on commit 9b9bdfb

Please sign in to comment.