From 0066cb2480b4f3e5541d369d8bac4f50a4c22fe5 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 5 Jul 2012 03:45:33 +0000 Subject: cleanup git-svn-id: https://svn.spreadspace.org/mur.sat@577 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/idm-test/idm-test.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'software/idm-test') diff --git a/software/idm-test/idm-test.c b/software/idm-test/idm-test.c index a4c4535..9e10771 100644 --- a/software/idm-test/idm-test.c +++ b/software/idm-test/idm-test.c @@ -106,7 +106,7 @@ void SetupHardware(void) TCCR0B = (1 << CS02); - SPI_Init(SPI_SPEED_FCPU_DIV_64 | SPI_MODE_MASTER | SPI_ORDER_MSB_FIRST | + SPI_Init(SPI_SPEED_FCPU_DIV_8 | SPI_MODE_MASTER | SPI_ORDER_MSB_FIRST | SPI_SCK_LEAD_RISING | SPI_SAMPLE_LEADING); SPI_CS_DDR |= (1<