Skip to content

Commit

Permalink
fix: missing NO_LIBOPENCM3 check
Browse files Browse the repository at this point in the history
  • Loading branch information
elagil committed Nov 9, 2023
1 parent 5e52207 commit d209f40
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 d209f40

Please sign in to comment.