aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-06-12 19:51:57 +0200
committerDean Camera <dean@fourwalledcubicle.com>2013-06-12 19:51:57 +0200
commitf7b9ebea02cf2a48fd4b287f6a445090ea433d52 (patch)
treebd63623df602229bba4d8f86902c823af97faf16 /Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c
parent6d58628e85f473001cbacc012d7f25b477c3e797 (diff)
downloadlufa-f7b9ebea02cf2a48fd4b287f6a445090ea433d52.tar.gz
lufa-f7b9ebea02cf2a48fd4b287f6a445090ea433d52.tar.bz2
lufa-f7b9ebea02cf2a48fd4b287f6a445090ea433d52.zip
Update board Dataflash_Init() functions to automatically configure the appropriate communication interface.
Diffstat (limited to 'Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c')
-rw-r--r--Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c b/Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c
index f1dc04992..03f422b45 100644
--- a/Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c
+++ b/Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c
@@ -148,7 +148,6 @@ void SetupHardware(void)
/* Hardware Initialization */
LEDs_Init();
Joystick_Init();
- SPI_Init(SPI_SPEED_FCPU_DIV_2 | SPI_ORDER_MSB_FIRST | SPI_SCK_LEAD_FALLING | SPI_SAMPLE_TRAILING | SPI_MODE_MASTER);
Dataflash_Init();
USB_Init();