diff options
author | cpldcpu <cpldcpu@gmail.com> | 2014-01-05 17:29:28 +0100 |
---|---|---|
committer | cpldcpu <cpldcpu@gmail.com> | 2014-01-05 17:29:28 +0100 |
commit | 385cc20f4911b6260cdda8d550a034b2506d538b (patch) | |
tree | 51d65bb03219f5cbe1c431471580fdc334e6329d /commandline/library/micronucleus_lib.h | |
parent | 4614182cbc1fa442bf58be4e8a9e86f3bdf74341 (diff) | |
download | micronucleus-385cc20f4911b6260cdda8d550a034b2506d538b.tar.gz micronucleus-385cc20f4911b6260cdda8d550a034b2506d538b.tar.bz2 micronucleus-385cc20f4911b6260cdda8d550a034b2506d538b.zip |
commandline: reset vector patching in commandline tool
Diffstat (limited to 'commandline/library/micronucleus_lib.h')
-rw-r--r-- | commandline/library/micronucleus_lib.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/commandline/library/micronucleus_lib.h b/commandline/library/micronucleus_lib.h index 9118ace..d9f4999 100644 --- a/commandline/library/micronucleus_lib.h +++ b/commandline/library/micronucleus_lib.h @@ -44,11 +44,12 @@ #define MICRONUCLEUS_VENDOR_ID 0x16D0 #define MICRONUCLEUS_PRODUCT_ID 0x0753 #define MICRONUCLEUS_USB_TIMEOUT 0xFFFF -#define MICRONUCLEUS_MAX_MAJOR_VERSION 1 +#define MICRONUCLEUS_MAX_MAJOR_VERSION 2 + /*******************************************************************************/ /******************************************************************************** -* Declearations +* Declarations ********************************************************************************/ //typedef usb_dev_handle micronucleus; // representing version number of micronucleus device @@ -57,6 +58,8 @@ typedef struct _micronucleus_version { unsigned char minor; } micronucleus_version; +#define MICRONUCLEUS_COMMANDLINE_VERSION "Commandline tool version: 2.0a2" + // handle representing one micronucleus device typedef struct _micronucleus { usb_dev_handle *device; @@ -77,7 +80,7 @@ typedef void (*micronucleus_callback)(float progress); * Try to connect to the device * Returns: device handle for success, NULL for fail ********************************************************************************/ -micronucleus* micronucleus_connect(); +micronucleus* micronucleus_connect(int fast_mode); /*******************************************************************************/ /******************************************************************************** |