From 032e562390d627b0faf1f52e60afb219e7134599 Mon Sep 17 00:00:00 2001
From: Guillaume DE LA RUE <delarueguillaume@gmail.com>
Date: Sat, 13 Jul 2019 20:20:18 +0200
Subject: [PATCH] Fix renaming PRODUCT and MANUFACTURER for Caterina devices
 like leonardo

---
 Arduino.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Arduino.mk b/Arduino.mk
index a403342..0733ab8 100644
--- a/Arduino.mk
+++ b/Arduino.mk
@@ -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