diff options
author | Michael Copland <mjbcopland@gmail.com> | 2016-06-22 13:36:18 +0100 |
---|---|---|
committer | Michael Copland <mjbcopland@gmail.com> | 2016-06-22 13:36:18 +0100 |
commit | 71b74d37409b17a2d431933cd4c5e96cb986d0f7 (patch) | |
tree | 825ce7950ef11344c9335296761e57277f30da9d /commandline/library/micronucleus_lib.h | |
parent | e56d09dee240be7e8b25fc5687ba86893dc91a27 (diff) | |
download | micronucleus-71b74d37409b17a2d431933cd4c5e96cb986d0f7.tar.gz micronucleus-71b74d37409b17a2d431933cd4c5e96cb986d0f7.tar.bz2 micronucleus-71b74d37409b17a2d431933cd4c5e96cb986d0f7.zip |
Properly close and deinitialize the USB connection
Diffstat (limited to 'commandline/library/micronucleus_lib.h')
-rw-r--r-- | commandline/library/micronucleus_lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/commandline/library/micronucleus_lib.h b/commandline/library/micronucleus_lib.h index 9e1e0f6..ce31f97 100644 --- a/commandline/library/micronucleus_lib.h +++ b/commandline/library/micronucleus_lib.h @@ -107,4 +107,10 @@ int micronucleus_writeFlash(micronucleus* deviceHandle, unsigned int program_len int micronucleus_startApp(micronucleus* deviceHandle); /*******************************************************************************/ +/******************************************************************************** +* Disconnects from the device and deinitializes libusb +********************************************************************************/ +void micronucleus_disconnect(micronucleus* deviceHandle); +/*******************************************************************************/ + #endif |