Fix renaming PRODUCT and MANUFACTURER for Caterina devices like leonardo

This commit is contained in:
Guillaume DE LA RUE 2019-07-13 20:20:18 +02:00 committed by GitHub
parent 0e462fcff1
commit 032e562390
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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