X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fshimmer2%2FMotePlatformC.nc;h=e7ac07059c9d3ffa43564f1c5b380147553de6a5;hb=947d2c396ee0ea804f85407193307c881110a542;hp=d1cffba1c57fbae81d0eb2ff82035f8a2f5f7f95;hpb=4ccadd35082a9957e78d487f3a354f82535552ca;p=tinyos-2.x.git diff --git a/tos/platforms/shimmer2/MotePlatformC.nc b/tos/platforms/shimmer2/MotePlatformC.nc index d1cffba1..e7ac0705 100644 --- a/tos/platforms/shimmer2/MotePlatformC.nc +++ b/tos/platforms/shimmer2/MotePlatformC.nc @@ -134,6 +134,7 @@ implementation { // BSL Prog Pins tristate em TOSH_MAKE_PROG_IN_OUTPUT(); TOSH_MAKE_PROG_OUT_OUTPUT(); + TOSH_SET_PROG_OUT_PIN(); // some expansion boards have enable low TOSH_SEL_PROG_IN_IOFUNC(); TOSH_SEL_PROG_OUT_IOFUNC(); @@ -209,15 +210,6 @@ implementation { TOSH_SEL_SOMI1_IOFUNC(); TOSH_MAKE_SOMI1_INPUT(); - /* - * sd pins are raised as part of power-cyling card - * and, they have pullups. - * - - for (i = 0; i < 20; i++) - TOSH_uwait(1000); // one millisecond - */ - TOSH_SET_SD_CS_N_PIN(); TOSH_SET_SD_DI_PIN(); TOSH_SET_SD_CLK_PIN();