]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/iris/chips/rf230/HplRF230C.nc
rename the TRF230 timer to TRadio
[tinyos-2.x.git] / tos / platforms / iris / chips / rf230 / HplRF230C.nc
index 2e48b54ff4e762ab1f6c84d9350aa8dee515f7a0..bb5158956dc3ec2a084b20d52306f4a9d86b3f28 100644 (file)
@@ -35,7 +35,7 @@ configuration HplRF230C
                interface GeneralIO as RSTN;
 
                interface GpioCapture as IRQ;
-               interface Alarm<TRF230, uint16_t> as Alarm;
+               interface Alarm<TRadio, uint16_t> as Alarm;
 
                interface HplRF230;
        }
@@ -49,8 +49,6 @@ implementation
        HplRF230P.PortCLKM -> IO.PortD6;
        HplRF230P.PortIRQ -> IO.PortD4;
        
-       // TODO: Ask why the HplAtm128SpiC does SlaveSelect via PortB0
-       // TODO: Remove the unused started field from Atm128SpiP
        components Atm128SpiC as SpiC;
        SpiResource = SpiC.Resource[unique("Atm128SpiC.Resource")];
        SpiByte = SpiC;
@@ -68,8 +66,6 @@ implementation
        components new AlarmOne16C() as AlarmC;
        Alarm = AlarmC;
 
-       // TODO: do these from PlatformC
-       components RealMainP, RF230LayerC;
+       components RealMainP;
        RealMainP.PlatformInit -> HplRF230P.PlatformInit;
-       RealMainP.PlatformInit -> RF230LayerC.PlatformInit;
 }