mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 14:30:35 +02:00
atusb/fw/board.h: de-duplicate USB ID definitions (now originate from atusb.h)
This commit is contained in:
parent
12d3401f64
commit
2d43876e4a
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* fw/board.h - Board-specific functions and definitions
|
* fw/board.h - Board-specific functions and definitions
|
||||||
*
|
*
|
||||||
* Written 2008-2011, 2013 by Werner Almesberger
|
* Written 2008-2011, 2013, 2013 by Werner Almesberger
|
||||||
* Copyright 2008-2011, 2013 Werner Almesberger
|
* Copyright 2008-2011, 2013, 2013 Werner Almesberger
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -16,6 +16,8 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include <atusb/atusb.h>
|
||||||
|
|
||||||
|
|
||||||
#define LED_PORT B
|
#define LED_PORT B
|
||||||
#define LED_BIT 6
|
#define LED_BIT 6
|
||||||
@ -56,8 +58,8 @@
|
|||||||
#define PIN(n) PIN_1(n##_PORT, n##_BIT)
|
#define PIN(n) PIN_1(n##_PORT, n##_BIT)
|
||||||
|
|
||||||
|
|
||||||
#define USB_VENDOR 0x20b7 /* Qi Hardware */
|
#define USB_VENDOR ATUSB_VENDOR_ID
|
||||||
#define USB_PRODUCT 0x1540 /* ben-wpan atusb */
|
#define USB_PRODUCT ATUSB_PRODUCT_ID
|
||||||
|
|
||||||
#define DFU_USB_VENDOR USB_VENDOR
|
#define DFU_USB_VENDOR USB_VENDOR
|
||||||
#define DFU_USB_PRODUCT USB_PRODUCT
|
#define DFU_USB_PRODUCT USB_PRODUCT
|
||||||
|
Loading…
Reference in New Issue
Block a user