aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-07-29 07:09:57 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-07-29 07:09:57 +0000
commitde5b16909a7d9cdedc5194cf74de9ec2e59b4d60 (patch)
treebc033f4da14ae37f3b785dbb978690d7c40491a8 /Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c
parent9a97f16b07ea15e327b0d01be238b06623b033d6 (diff)
downloadlufa-de5b16909a7d9cdedc5194cf74de9ec2e59b4d60.tar.gz
lufa-de5b16909a7d9cdedc5194cf74de9ec2e59b4d60.tar.bz2
lufa-de5b16909a7d9cdedc5194cf74de9ec2e59b4d60.zip
Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz via a new software SPI driver.
Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
Diffstat (limited to 'Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c')
-rw-r--r--Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c b/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c
index 2a6e3dd78..4ac5ebde3 100644
--- a/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c
+++ b/Demos/Device/ClassDriver/MassStorageKeyboard/MassStorageKeyboard.c
@@ -113,7 +113,7 @@ void SetupHardware(void)
LEDs_Init();
Joystick_Init();
Buttons_Init();
- SPI_Init(SPI_SPEED_FCPU_DIV_2 | SPI_SCK_LEAD_FALLING | SPI_SAMPLE_TRAILING | SPI_MODE_MASTER);
+ 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();