From f7b9ebea02cf2a48fd4b287f6a445090ea433d52 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 12 Jun 2013 19:51:57 +0200 Subject: Update board Dataflash_Init() functions to automatically configure the appropriate communication interface. --- .../ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c | 1 - 1 file changed, 1 deletion(-) (limited to 'Demos/Device/ClassDriver/VirtualSerialMassStorage/VirtualSerialMassStorage.c') 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(); -- cgit v1.2.3