diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-01-08 19:14:12 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-01-08 19:14:12 +0100 |
commit | 870259ecc121c5574fe119db0b3dad3416deca79 (patch) | |
tree | 2992aeb3c06152cc1990fe059aa0fc6d1cb6289d /firmware | |
parent | 7768c72f7c6180a4517b0b6966af0b92c0067008 (diff) |
check software version between firmware and CLI
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/usbconfig.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/usbconfig.h b/firmware/usbconfig.h index 585d16d..d9c9bf3 100644 --- a/firmware/usbconfig.h +++ b/firmware/usbconfig.h @@ -11,6 +11,8 @@ #ifndef __usbconfig_h_included__ #define __usbconfig_h_included__ +#include "../global_config.h" + /* General Description: This file contains parts of the USB driver which can be configured and can or @@ -138,7 +140,7 @@ the newest features and options. * you use obdev's free shared VID/PID pair. Be sure to read the rules in * USBID-License.txt! */ -#define USB_CFG_DEVICE_VERSION 0x00, 0x01 +#define USB_CFG_DEVICE_VERSION USBDEV_VERSION_MINOR, USBDEV_VERSION_MAJOR /* Version number of the device: Minor number first, then major number. */ #define USB_CFG_VENDOR_NAME 'f', 'i', 'n', 'a', 'l', 'r', 'e', 'w', 'i', 'n', 'd', '.', 'o', 'r', 'g' |