From 2d43876e4ac7f6c0873551c69d5cff5157ac457d Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 1 Apr 2013 05:54:58 -0300 Subject: [PATCH] atusb/fw/board.h: de-duplicate USB ID definitions (now originate from atusb.h) --- atusb/fw/board.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/atusb/fw/board.h b/atusb/fw/board.h index 7cbdca6..89e9eed 100644 --- a/atusb/fw/board.h +++ b/atusb/fw/board.h @@ -1,8 +1,8 @@ /* * fw/board.h - Board-specific functions and definitions * - * Written 2008-2011, 2013 by Werner Almesberger - * Copyright 2008-2011, 2013 Werner Almesberger + * Written 2008-2011, 2013, 2013 by Werner Almesberger + * Copyright 2008-2011, 2013, 2013 Werner Almesberger * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,8 @@ #include #include +#include + #define LED_PORT B #define LED_BIT 6 @@ -56,8 +58,8 @@ #define PIN(n) PIN_1(n##_PORT, n##_BIT) -#define USB_VENDOR 0x20b7 /* Qi Hardware */ -#define USB_PRODUCT 0x1540 /* ben-wpan atusb */ +#define USB_VENDOR ATUSB_VENDOR_ID +#define USB_PRODUCT ATUSB_PRODUCT_ID #define DFU_USB_VENDOR USB_VENDOR #define DFU_USB_PRODUCT USB_PRODUCT