]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/mulle/chips/rf230/RF230SplitControlP.nc
The PLL should only be turned on if the SLOW_SPI flag is not set.
[tinyos-2.x.git] / tos / platforms / mulle / chips / rf230 / RF230SplitControlP.nc
index 2f30cadf511caabec36b629ddb35199a574f3543..0719c0c647e1eb34ea3f6a828e78ef8245829d68 100644 (file)
@@ -50,19 +50,23 @@ implementation
 {
   command error_t SplitControl.start()
   {
+#ifndef RF230_SLOW_SPI_MULLE
 #ifndef RF230_SLOW_SPI
     call SystemClockControl.minSpeed(M16C62P_PLL_CLOCK);
+#endif
 #endif
     return call SplitControlOrig.start();
   }
 
   event void SplitControlOrig.startDone(error_t error)
   {
+#ifndef RF230_SLOW_SPI_MULLE
 #ifndef RF230_SLOW_SPI
     if (error != SUCCESS)
     {
       call SystemClockControl.minSpeed(M16C62P_DONT_CARE);
     }
+#endif
 #endif
     signal SplitControl.startDone(error);
   }