From: asterix Date: Fri, 30 Sep 2011 07:11:30 +0000 (+0000) Subject: Remove cpu dependency. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6a562eac017ec5d3cb98822d90702b2acf099bcc;p=bertos.git Remove cpu dependency. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5120 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 */