Update of /cvsroot/firebug/fireboard/fireboard/sensors/adg715
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17017/adg715
Modified Files:
MicaWbSwitch.nc MicaWbSwitchM.nc Switch.nc
Log Message:
Changed to HLSensor.
Index: Switch.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/fireboard/sensors/adg715/Switch.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Switch.nc 3 Feb 2004 19:27:51 -0000 1.2
--- Switch.nc 26 Mar 2004 00:39:26 -0000 1.3
***************
*** 31,40 ****
* Authors: Joe Polastre
*
- * $Id$
*/
interface Switch {
command result_t get();
! command result_t set(char position, char value);
command result_t setAll(char value);
--- 31,39 ----
* Authors: Joe Polastre
*
*/
interface Switch {
command result_t get();
! async command result_t set(char position, char value);
command result_t setAll(char value);
Index: MicaWbSwitchM.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/fireboard/sensors/adg715/MicaWbSwitchM.nc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** MicaWbSwitchM.nc 3 Feb 2004 19:27:51 -0000 1.3
--- MicaWbSwitchM.nc 26 Mar 2004 00:39:26 -0000 1.4
***************
*** 31,35 ****
* Authors: Joe Polastre
*
- * $Id$
*/
--- 31,34 ----
***************
*** 53,60 ****
char sw_state; /* current state of the switch */
! char state; /* current state of the i2c request */
char addr; /* destination address */
! char position;
! char value;
command result_t StdControl.init() {
--- 52,60 ----
char sw_state; /* current state of the switch */
! // FIXME: remove the norace
! norace char state; /* current state of the i2c request */
char addr; /* destination address */
! norace char position;
! norace char value;
command result_t StdControl.init() {
***************
*** 84,88 ****
}
! command result_t Switch.set[uint8_t id](char l_position, char l_value) {
if (state == IDLE)
{
--- 84,88 ----
}
! async command result_t Switch.set[uint8_t id](char l_position, char l_value) {
if (state == IDLE)
{
Index: MicaWbSwitch.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/fireboard/sensors/adg715/MicaWbSwitch.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MicaWbSwitch.nc 3 Feb 2004 19:27:51 -0000 1.2
--- MicaWbSwitch.nc 26 Mar 2004 00:39:26 -0000 1.3
***************
*** 31,35 ****
* Authors: Joe Polastre
*
- * $Id$
*/
--- 31,34 ----
|