]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/deluge/Blink/BlinkAppC.nc
Address Vlado's comments and improve the GoldenImage's README.
[tinyos-2.x.git] / apps / tests / deluge / Blink / BlinkAppC.nc
index 1a09d0ff973ee06d4ba0f080cf27715cbd788522..2189ce46059aa1a8cfd8b75eb26dbc1255c01de1 100644 (file)
  * @author Razvan Musaloiu-E. <razvanm@cs.jhu.edu>
  **/
 
-configuration BlinkAppC
-{
-}
+configuration BlinkAppC { }
+
 implementation
 {
   components MainC, BlinkC, LedsC;
-#ifdef DELUGE
+  components new TimerMilliC() as Timer0;
   components DelugeC;
+
   DelugeC.Leds -> LedsC;
-#endif
-  components new TimerMilliC() as Timer0;
 
   BlinkC -> MainC.Boot;
-
   BlinkC.Timer0 -> Timer0;
   BlinkC.Leds -> LedsC;
 }