From 5d32bb8148fb812895a03b62fa3686024e1139b9 Mon Sep 17 00:00:00 2001 From: ayer1 Date: Wed, 13 Jan 2010 15:08:56 +0000 Subject: [PATCH] adjusting wait time for powercycle based upon wider testing of sd card brands for successful transition between spi and raw data modes; many fail at 20ms. --- tos/platforms/shimmer/chips/sd/SDP.nc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tos/platforms/shimmer/chips/sd/SDP.nc b/tos/platforms/shimmer/chips/sd/SDP.nc index ac9746a5..407ba487 100644 --- a/tos/platforms/shimmer/chips/sd/SDP.nc +++ b/tos/platforms/shimmer/chips/sd/SDP.nc @@ -139,7 +139,7 @@ implementation { TOSH_CLR_SD_DO_PIN(); TOSH_CLR_SD_CLK_PIN(); - TOSH_uwait(20000); + TOSH_uwait(60000); TOSH_SET_SD_CS_N_PIN(); TOSH_CLR_SW_SD_PWR_N_PIN(); -- 2.39.2