X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fmulle%2Fchips%2Frf230%2FRF230SplitControlP.nc;fp=tos%2Fplatforms%2Fmulle%2Fchips%2Frf230%2FRF230SplitControlP.nc;h=0719c0c647e1eb34ea3f6a828e78ef8245829d68;hb=d58c89d0ab69c1350a9a9caba789fe5321d3938e;hp=2f30cadf511caabec36b629ddb35199a574f3543;hpb=d04aacb17477664b6c742a36b964f745d15533da;p=tinyos-2.x.git diff --git a/tos/platforms/mulle/chips/rf230/RF230SplitControlP.nc b/tos/platforms/mulle/chips/rf230/RF230SplitControlP.nc index 2f30cadf..0719c0c6 100644 --- a/tos/platforms/mulle/chips/rf230/RF230SplitControlP.nc +++ b/tos/platforms/mulle/chips/rf230/RF230SplitControlP.nc @@ -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); }