X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Flib%2Fnet%2FDeluge%2Fextra%2FNetProgC.nc;h=79bad7651dd654b4bde4b9323cf9de1b9687ada2;hp=462ff7da4883f412557da2857805b3ff19a52304;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/tos/lib/net/Deluge/extra/NetProgC.nc b/tos/lib/net/Deluge/extra/NetProgC.nc index 462ff7da..79bad765 100644 --- a/tos/lib/net/Deluge/extra/NetProgC.nc +++ b/tos/lib/net/Deluge/extra/NetProgC.nc @@ -40,20 +40,24 @@ configuration NetProgC { implementation { - components MainC, InternalFlashC as IFlash, CrcP; + components MainC, InternalFlashC as IFlash, CrcC; components NetProgM, ReprogramGuardC; NetProg = NetProgM; MainC.SoftwareInit -> NetProgM.Init; NetProgM.IFlash -> IFlash; - NetProgM.Crc -> CrcP; + NetProgM.Crc -> CrcC; NetProgM.ReprogramGuard -> ReprogramGuardC; components LedsC; NetProgM.Leds -> LedsC; - components CC2420ControlP, ActiveMessageAddressC; - NetProgM.CC2420Config -> CC2420ControlP; + components ActiveMessageAddressC; NetProgM.setAmAddress -> ActiveMessageAddressC; + +#if !defined(PLATFORM_TINYNODE) + components CC2420ControlP; + NetProgM.CC2420Config -> CC2420ControlP; +#endif }