From 76634ec74c8fa2dd6c2bcc3861f9323b803a6f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Fri, 19 Jul 2013 10:07:38 +0000 Subject: [PATCH] CS_HIGH() and CS_LOW() mixed up? --- BaS_gcc/sources/mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaS_gcc/sources/mmc.c b/BaS_gcc/sources/mmc.c index 630d414..30e3fb9 100644 --- a/BaS_gcc/sources/mmc.c +++ b/BaS_gcc/sources/mmc.c @@ -22,8 +22,8 @@ /* Copyright (C) 2012, mfro, all rights reserved. */ -#define CS_HIGH() { dspi_fifo_val &= ~MCF_DSPI_DTFR_CS5; } -#define CS_LOW() { dspi_fifo_val |= MCF_DSPI_DTFR_CS5; } +#define CS_LOW() { dspi_fifo_val &= ~MCF_DSPI_DTFR_CS5; } +#define CS_HIGH() { dspi_fifo_val |= MCF_DSPI_DTFR_CS5; } /* * DCTAR_PBR (baud rate prescaler) and DCTAR_BR (baud rate scaler) together determine the SPI baud rate. The forumula is