Skip to content

Commit 1d8cbf6

Browse files
committed
Added quoting to usb_producer key to preserve double quotes.
See arduino#1422.
1 parent a7d5da0 commit 1d8cbf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ compiler.libsam.c.flags="-I{build.system.path}/libsam" "-I{build.system.path}/CM
3535

3636
# USB Flags
3737
# ---------
38-
build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} -DUSBCON -DUSB_MANUFACTURER={build.usb_manufacturer} '-DUSB_PRODUCT={build.usb_product}'
38+
build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} -DUSBCON '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
3939

4040
# Default usb manufacturer will be replaced at compile time using
4141
# numeric vendor ID if available or by board's specific value.

0 commit comments

Comments
 (0)