1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 07:51:55 +02:00

atusb/fw/board.h: de-duplicate USB ID definitions (now originate from atusb.h)

This commit is contained in:
Werner Almesberger 2013-04-01 05:54:58 -03:00
parent 12d3401f64
commit 2d43876e4a

View File

@ -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 <stdbool.h>
#include <stdint.h>
#include <atusb/atusb.h>
#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