Fix renaming PRODUCT and MANUFACTURER for Caterina devices like leonardo
This commit is contained in:
parent
0e462fcff1
commit
032e562390
1 changed files with 1 additions and 1 deletions
|
@ -1185,7 +1185,7 @@ CPPFLAGS += $(OPTIMIZATION_FLAGS)
|
|||
ifneq ($(CATERINA),)
|
||||
CPPFLAGS += -DUSB_VID=$(USB_VID) -DUSB_PID=$(USB_PID)
|
||||
ifdef USB_PRODUCT
|
||||
CPPFLAGS += -DUSB_PRODUCT='$(USB_PRODUCT)' -DUSB_MANUFACTURER='$(USB_MANUFACTURER)'
|
||||
CPPFLAGS += "-DUSB_PRODUCT=\"$(USB_PRODUCT)\"" "-DUSB_MANUFACTURER=\"$(USB_MANUFACTURER)\""
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue