summaryrefslogtreecommitdiff
path: root/avr
diff options
context:
space:
mode:
authorLeo C2015-08-27 13:29:37 +0200
committerLeo C2015-08-27 13:29:37 +0200
commit7e020cdf9db3b5ea147b4b92ab58cd7a66d4b2ea (patch)
tree3a6c7776462c6ba3321682d113457b39bb82519e /avr
parent9f8d835bab7428895db51cfaea70e1da079f47c2 (diff)
downloadz180-stamp-7e020cdf9db3b5ea147b4b92ab58cd7a66d4b2ea.zip
card1-detect-pin enabled
Diffstat (limited to 'avr')
-rw-r--r--avr/mmc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/avr/mmc.c b/avr/mmc.c
index 7c4da24..b7cff71 100644
--- a/avr/mmc.c
+++ b/avr/mmc.c
@@ -32,9 +32,9 @@
#define SD_CS_0_DDR SBIT(DDRB,0)
-//#define SD_CD_1 SBIT(PORTG,3) /* Card detect switch */
-//#define SD_CD_1_IN SBIT(PING,3)
-//#define SD_CD_1_DDR SBIT(DDRG,3)
+#define SD_CD_1 SBIT(PORTG,3) /* Card detect switch */
+#define SD_CD_1_IN SBIT(PING,3)
+#define SD_CD_1_DDR SBIT(DDRG,3)
//#define SD_WP_1 SBIT(PORTG,5) /* Write protect switch */
//#define SD_WP_1_IN SBIT(PING,5)