diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-05 09:37:45 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-05 09:37:45 +0000 |
commit | a9d5e129b76449c73a853af450d7d353512cd3a0 (patch) | |
tree | 8779e0f6d9bd2ab4ea83a88e4a532b8daa8d5154 /Demos/Device/LowLevel/MassStorage/MassStorage.h | |
parent | 4b35dd167001233d2f44f918d3656a3f2ad80f2e (diff) | |
download | lufa-a9d5e129b76449c73a853af450d7d353512cd3a0.tar.gz lufa-a9d5e129b76449c73a853af450d7d353512cd3a0.tar.bz2 lufa-a9d5e129b76449c73a853af450d7d353512cd3a0.zip |
Changed over manual loops waiting for endpoints to be ready to use the library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices.
Diffstat (limited to 'Demos/Device/LowLevel/MassStorage/MassStorage.h')
-rw-r--r-- | Demos/Device/LowLevel/MassStorage/MassStorage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/LowLevel/MassStorage/MassStorage.h b/Demos/Device/LowLevel/MassStorage/MassStorage.h index 868daf09a..65407c8c1 100644 --- a/Demos/Device/LowLevel/MassStorage/MassStorage.h +++ b/Demos/Device/LowLevel/MassStorage/MassStorage.h @@ -64,7 +64,7 @@ /** Total number of Logical Units (drives) in the device. The total device capacity is shared equally between
* each drive - this can be set to any positive non-zero amount.
*/
- #define TOTAL_LUNS 2
+ #define TOTAL_LUNS 1
/** Blocks in each LUN, calculated from the total capacity divided by the total number of Logical Units in the device. */
#define LUN_MEDIA_BLOCKS (VIRTUAL_MEMORY_BLOCKS / TOTAL_LUNS)
|