summaryrefslogtreecommitdiff
path: root/examples/host/hid_controller
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2021-12-26 22:32:35 +0100
committerJerzy Kasenberg <[email protected]>2021-12-27 10:14:38 +0100
commit7a596b9e559e9c1b3305906eb9eb6ff707643f75 (patch)
tree5f4002fc09dad039618669f5034e2e924548506d /examples/host/hid_controller
parenta6789b5d5a3c9e41771e5eb8fdb08182c95fbe08 (diff)
Fix Mynewt build for Microchip PIC32MZ devices.
definition of DEBUG breaks Microchip pic32 builds for Mynewt. When MCU is not VALENTYUSB_EPTRI there is no need to have any preprocessor definitions. It may not look like a big deal but for xc32 builds, compiler automatically force-includes some file that have structure with field name DEBUG that result in build error in dcd_eptri.c when this file is not really needed. Moving DEBUG and LOG_USB few lines down should not break eptri builds.
Diffstat (limited to 'examples/host/hid_controller')
0 files changed, 0 insertions, 0 deletions