aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-13 21:01:23 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-13 21:01:23 +0000
commite9e6730d4999bea6e0eaefc2fce062ef090388b8 (patch)
tree5daf1ada1335d2781e144548b55d8253adff0c05 /Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.h
parentae6a51492948d621907d3e62c03c2854e6fcc19c (diff)
downloadlufa-e9e6730d4999bea6e0eaefc2fce062ef090388b8.tar.gz
lufa-e9e6730d4999bea6e0eaefc2fce062ef090388b8.tar.bz2
lufa-e9e6730d4999bea6e0eaefc2fce062ef090388b8.zip
AppConfigHeaders: Move out the last of the demo/app configurations into new AppConfig.h header files.
Diffstat (limited to 'Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.h')
-rw-r--r--Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.h b/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.h
index d70a86c19..7612ddadb 100644
--- a/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.h
+++ b/Demos/Device/LowLevel/MassStorage/Lib/DataflashManager.h
@@ -45,7 +45,7 @@
#include <LUFA/Common/Common.h>
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Board/Dataflash.h>
-
+
/* Preprocessor Checks: */
#if (DATAFLASH_PAGE_SIZE % 16)
#error Dataflash page size must be a multiple of 16 bytes.
@@ -65,11 +65,6 @@
*/
#define VIRTUAL_MEMORY_BLOCKS (VIRTUAL_MEMORY_BYTES / VIRTUAL_MEMORY_BLOCK_SIZE)
- /** 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 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)