// $Id$
-/* tab:4
+/*
* "Copyright (c) 2000-2005 The Regents of the University of California.
* All rights reserved.
*
* @date March 19, 2005
*/
-
-configuration NoLedsC {
+module NoLedsC {
provides interface Init;
provides interface Leds;
}
implementation {
- components NoLedsP;
- Init = NoLedsP;
- Leds = NoLedsP;
-}
+ command error_t Init.init() {return SUCCESS;}
+
+ async command void Leds.led0On() {}
+ async command void Leds.led0Off() {}
+ async command void Leds.led0Toggle() {}
+
+ async command void Leds.led1On() {}
+ async command void Leds.led1Off() {}
+ async command void Leds.led1Toggle() {}
+
+ async command void Leds.led2On() {}
+ async command void Leds.led2Off() {}
+ async command void Leds.led2Toggle() {}
+
+ async command uint8_t Leds.get() {return 0;}
+ async command void Leds.set(uint8_t val) {}
+}