]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
- keep flash clock pin in output to improve stability when the flash is in deep sleep...
authorvlahan <vlahan>
Tue, 10 Jul 2007 00:42:36 +0000 (00:42 +0000)
committervlahan <vlahan>
Tue, 10 Jul 2007 00:42:36 +0000 (00:42 +0000)
tos/platforms/telosb/MotePlatformC.nc

index 1c7fc9b7a46cda885b10e1a6e2d456a928299f3b..d599811cd1dc87c4bf1f7fd264e1b1c9b7e32d08 100644 (file)
@@ -49,11 +49,8 @@ implementation {
     TOSH_FLASH_M25P_DP_bit(TRUE);   // 7
 
     TOSH_SET_FLASH_CS_PIN();
-
+    TOSH_SET_UCLK0_PIN();
     TOSH_SET_SIMO0_PIN();
-    TOSH_MAKE_SIMO0_INPUT();
-    TOSH_MAKE_UCLK0_INPUT();
-    TOSH_CLR_FLASH_HOLD_PIN();
   }
 
   command error_t Init.init() {