[Firebug-cvs] fireboard/fireboard/sensors/adg715 HPLI2CM.nc,1.1.1.1,1.2 MicaWbSwitchM.nc,1.1.1.1,1.2
Brought to you by:
doolin
From: <do...@us...> - 2004-01-14 16:39:35
|
Update of /cvsroot/firebug/fireboard/fireboard/sensors/adg715 In directory sc8-pr-cvs1:/tmp/cvs-serv8441 Modified Files: HPLI2CM.nc MicaWbSwitchM.nc Removed Files: SODebug.h wbswitch_debug.h Log Message: Removing extra header files. Index: HPLI2CM.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/fireboard/sensors/adg715/HPLI2CM.nc,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** HPLI2CM.nc 5 Jan 2004 21:03:27 -0000 1.1.1.1 --- HPLI2CM.nc 14 Jan 2004 16:39:32 -0000 1.2 *************** *** 242,246 **** break; case TWS_MR_SLA_NACK: ! signal I2C.writeDone(FALSE); break; case TWS_MR_DATA_ACK: --- 242,246 ---- break; case TWS_MR_SLA_NACK: ! signal I2C.writeDone(FALSE); break; case TWS_MR_DATA_ACK: Index: MicaWbSwitchM.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/fireboard/sensors/adg715/MicaWbSwitchM.nc,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** MicaWbSwitchM.nc 5 Jan 2004 21:03:27 -0000 1.1.1.1 --- MicaWbSwitchM.nc 14 Jan 2004 16:39:32 -0000 1.2 *************** *** 88,93 **** implementation { - #define WB_DEBUG 0 - #include "wbswitch_debug.h" enum { GET_SWITCH = 0, --- 88,91 ---- *************** *** 106,110 **** state = IDLE; ! WBDbg(DBG_USR2, "MicaWBSwitch.StdControl.init() state: %i\n,",state); return call I2CPacketControl.init(); } --- 104,108 ---- state = IDLE; ! //WBDbg(DBG_USR2, "MicaWBSwitch.StdControl.init() state: %i\n,",state); return call I2CPacketControl.init(); } *************** *** 113,117 **** command result_t StdControl.start() { ! WBDbg(DBG_USR2, "MicaWBSwitch.StdControl.start() state: %i\n",state); return call I2CPacketControl.start(); } --- 111,115 ---- command result_t StdControl.start() { ! //WBDbg(DBG_USR2, "MicaWBSwitch.StdControl.start() state: %i\n",state); return call I2CPacketControl.start(); } *************** *** 120,124 **** command result_t StdControl.stop() { ! WBDbg(DBG_USR2, "MicaWBSwitch.StdControl.stop() state: %i\n",state); return call I2CPacketControl.stop(); } --- 118,122 ---- command result_t StdControl.stop() { ! //WBDbg(DBG_USR2, "MicaWBSwitch.StdControl.stop() state: %i\n",state); return call I2CPacketControl.stop(); } *************** *** 127,136 **** command result_t Switch.get[uint8_t id]() { ! WBDbg(DBG_USR2, "MicaWBSwitch.Switch.get() state: %i\n",state); if (state == IDLE) { state = GET_SWITCH; ! WBDbg(DBG_USR2, "MicaWBSwitch.Switch.get() state: %i\n",state); if (id == 0) --- 125,134 ---- command result_t Switch.get[uint8_t id]() { ! //WBDbg(DBG_USR2, "MicaWBSwitch.Switch.get() state: %i\n",state); if (state == IDLE) { state = GET_SWITCH; ! //WBDbg(DBG_USR2, "MicaWBSwitch.Switch.get() state: %i\n",state); if (id == 0) *************** *** 146,150 **** command result_t Switch.set[uint8_t id](char l_position, char l_value) { ! WBDbg(DBG_USR2, "MicaWBSwitch.Switch.set() state: %i\n",state); if (state == IDLE) --- 144,148 ---- command result_t Switch.set[uint8_t id](char l_position, char l_value) { ! //WBDbg(DBG_USR2, "MicaWBSwitch.Switch.set() state: %i\n",state); if (state == IDLE) *************** *** 165,169 **** command result_t Switch.setAll[uint8_t id](char l_value) { ! WBDbg(DBG_USR2, "MicaWBSwitch.Switch.setAll() state: %i\n",state); if (state == IDLE) --- 163,167 ---- command result_t Switch.setAll[uint8_t id](char l_value) { ! //WBDbg(DBG_USR2, "MicaWBSwitch.Switch.setAll() state: %i\n",state); if (state == IDLE) *************** *** 184,188 **** ! WBDbg(DBG_USR2, "MicaWBSwitch.I2CSwitch0.writePacketDone() state: %i\n",state); if (state == SET_SWITCH) --- 182,186 ---- ! //WBDbg(DBG_USR2, "MicaWBSwitch.I2CSwitch0.writePacketDone() state: %i\n",state); if (state == SET_SWITCH) *************** *** 200,204 **** event result_t I2CSwitch1.writePacketDone(bool result) { ! WBDbg(DBG_USR2, "MicaWBSwitch.I2CSwitch1.writePacketDone() state: %i\n",state); if (state == SET_SWITCH) --- 198,202 ---- event result_t I2CSwitch1.writePacketDone(bool result) { ! //WBDbg(DBG_USR2, "MicaWBSwitch.I2CSwitch1.writePacketDone() state: %i\n",state); if (state == SET_SWITCH) *************** *** 217,221 **** ! WBDbg(DBG_USR2, "MicaWBSwitch.I2CSwitch0.readPacketDone() state: %i\n",state); if (state == GET_SWITCH) { --- 215,219 ---- ! //WBDbg(DBG_USR2, "MicaWBSwitch.I2CSwitch0.readPacketDone() state: %i\n",state); if (state == GET_SWITCH) { *************** *** 288,292 **** ! WBDbg(DBG_USR2, "MicaWBSwitch.I2CSwitch1.readPacketDone() state: %i\n",state); if (state == GET_SWITCH) --- 286,290 ---- ! //WBDbg(DBG_USR2, "MicaWBSwitch.I2CSwitch1.readPacketDone() state: %i\n",state); if (state == GET_SWITCH) *************** *** 357,361 **** default event result_t Switch.setDone[uint8_t id](bool result) { ! WBDbg(DBG_USR2, "MicaWBSwitch.Switch.setDone() id: %i\n",id); return SUCCESS; --- 355,359 ---- default event result_t Switch.setDone[uint8_t id](bool result) { ! //WBDbg(DBG_USR2, "MicaWBSwitch.Switch.setDone() id: %i\n",id); return SUCCESS; *************** *** 364,368 **** default event result_t Switch.setAllDone[uint8_t id](bool result) { ! WBDbg(DBG_USR2, "MicaWBSwitch.Switch.setAllDone() id: %i\n",id); return SUCCESS; } --- 362,366 ---- default event result_t Switch.setAllDone[uint8_t id](bool result) { ! //WBDbg(DBG_USR2, "MicaWBSwitch.Switch.setAllDone() id: %i\n",id); return SUCCESS; } *************** *** 370,374 **** default event result_t Switch.getDone[uint8_t id](char l_value) { ! WBDbg(DBG_USR2, "MicaWBSwitch.Switch.getDone() id: %i\n",id); return SUCCESS; } --- 368,372 ---- default event result_t Switch.getDone[uint8_t id](char l_value) { ! //WBDbg(DBG_USR2, "MicaWBSwitch.Switch.getDone() id: %i\n",id); return SUCCESS; } --- SODebug.h DELETED --- --- wbswitch_debug.h DELETED --- |