From 5950acfb05fb3e172fa5710f1cda6ab347f51f2f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 13 Nov 2014 17:39:18 +0000 Subject: leds --- boot/usbdfu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'boot/usbdfu.c') diff --git a/boot/usbdfu.c b/boot/usbdfu.c index 33d48ec..b1d1b6d 100644 --- a/boot/usbdfu.c +++ b/boot/usbdfu.c @@ -25,6 +25,8 @@ #include #include +#include + #define APP_ADDRESS 0x08002000 /* Commands sent with wBlockNum == 0 as per ST implementation. */ @@ -56,7 +58,7 @@ const struct usb_device_descriptor dev = { .bDeviceProtocol = 0, .bMaxPacketSize0 = 64, .idVendor = 0x1d6b, - .idProduct = 0x0ee3, + .idProduct = ID_PRODUCT, .bcdDevice = 0x0200, .iManufacturer = 1, .iProduct = 2, -- cgit v1.2.3