From 6a562eac017ec5d3cb98822d90702b2acf099bcc Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 30 Sep 2011 07:11:30 +0000 Subject: [PATCH 1/1] Remove cpu dependency. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5120 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/hw/hw_sd.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bertos/hw/hw_sd.h b/bertos/hw/hw_sd.h index a21fd37d..d5c70a56 100644 --- a/bertos/hw/hw_sd.h +++ b/bertos/hw/hw_sd.h @@ -45,15 +45,13 @@ #define SD_CS_ON() do { /* implement me */} while(0) #define SD_CS_OFF() do { /* implement me */} while(0) -#include - -#define SD_STROBE_ON() do { PIOE_SODR = BV(0); } while(0) -#define SD_STROBE_OFF() do { PIOE_CODR = BV(0); } while(0) +#define SD_STROBE_ON() do { /* implement me */ } while(0) +#define SD_STROBE_OFF() do { /* implement me */ } while(0) #define SD_STROBE_INIT() do { /* implement me */} while(0) #define SD_PIN_INIT() do { /* implement me */} while(0) -#define SD_CARD_PRESENT() (!(PIOE_PDSR & BV(6))) -#define SD_WRITE_PROTECT() false /* implement me */ +#define SD_CARD_PRESENT() /* implement me */ +#define SD_WRITE_PROTECT() /* implement me */ #endif /* HW_SD_H */ -- 2.25.1