diff sd_raw.c @ 38:9e888708f33d

sd test code
author Matt Johnston <matt@ucc.asn.au>
date Thu, 27 Jun 2013 11:24:56 +0000
parents 5f9a40d6991b
children 2a47c458d6ed
line wrap: on
line diff
--- a/sd_raw.c	Thu Jun 27 14:05:10 2013 +0800
+++ b/sd_raw.c	Thu Jun 27 11:24:56 2013 +0000
@@ -330,6 +330,14 @@
     return 1;
 }
 
+void 
+sd_raw_deinit(void)
+{
+    configure_pin_mosi();
+    configure_pin_sck();
+    configure_pin_ss();
+}
+
 /**
  * \ingroup sd_raw
  * Checks wether a memory card is located in the slot.