[Firebug-cvs] mts400/sensors/i2c MicaWbSwitchM.nc,1.3,1.4
Brought to you by:
doolin
From: <do...@us...> - 2003-11-18 22:45:14
|
Update of /cvsroot/firebug/mts400/sensors/i2c In directory sc8-pr-cvs1:/tmp/cvs-serv26771/sensors/i2c Modified Files: MicaWbSwitchM.nc Log Message: Worked over the debugging output for gps. Index: MicaWbSwitchM.nc =================================================================== RCS file: /cvsroot/firebug/mts400/sensors/i2c/MicaWbSwitchM.nc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MicaWbSwitchM.nc 15 Nov 2003 02:00:28 -0000 1.3 --- MicaWbSwitchM.nc 18 Nov 2003 22:45:11 -0000 1.4 *************** *** 88,92 **** implementation { ! #define WB_DEBUG 1 #include "wbswitch_debug.h" --- 88,92 ---- implementation { ! #define WB_DEBUG 0 #include "wbswitch_debug.h" *************** *** 110,124 **** } command result_t StdControl.start() { WBDbg(DBG_USR2, "MicaWBSwitch.StdControl.start() state: %i\n",state); - return call I2CPacketControl.start(); } command result_t StdControl.stop() { WBDbg(DBG_USR2, "MicaWBSwitch.StdControl.stop() state: %i\n",state); - return call I2CPacketControl.stop(); } --- 110,124 ---- } + command result_t StdControl.start() { WBDbg(DBG_USR2, "MicaWBSwitch.StdControl.start() state: %i\n",state); return call I2CPacketControl.start(); } + command result_t StdControl.stop() { WBDbg(DBG_USR2, "MicaWBSwitch.StdControl.stop() state: %i\n",state); return call I2CPacketControl.stop(); } *************** *** 127,131 **** command result_t Switch.get[uint8_t id]() { - WBDbg(DBG_USR2, "MicaWBSwitch.Switch.get() state: %i\n",state); --- 127,130 ---- *************** *** 163,166 **** --- 162,166 ---- } + command result_t Switch.setAll[uint8_t id](char l_value) { *************** *** 179,182 **** --- 179,183 ---- return FAIL; } + event result_t I2CSwitch0.writePacketDone(bool result) { |