[Tinyos-devel] small bug in tinyos-2.x/tos/system/NoLedsP.nc

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Tue May 30 10:16:16 PDT 2006


Hi!

The compilation error is:
	/home/tinyos2/local/src/tinyos-2.x/tos/system/NoLedsP.nc: In function `NoLedsP$Leds$set':
	/home/tinyos2/local/src/tinyos-2.x/tos/system/NoLedsP.nc:53: parameter name omitted
	make: *** [exe0] Error 1

The faulty line is:
    53    async command void Leds.set(uint8_t) {}

And the fix is just to give a name to the uint8_t parameter:
    53    async command void Leds.set(uint8_t val) {}

Have a nice day!
Razvan ME



More information about the Tinyos-devel mailing list