Changeset - 297e75fc3c22
[Not reviewed]
default
0 1 0
ethanzonca@CL-ENS241-08.cedarville.edu - 12 years ago 2013-04-29 19:08:46
ethanzonca@CL-ENS241-08.cedarville.edu
Master now prints out raw sensor ID if no value in lookup tabel (fixes FS#70, untested)
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
master/master/lib/slavesensors.c
Show inline comments
 
@@ -79,7 +79,9 @@ char* slavesensors_getLabel(uint8_t sens
 
	}
 
	else 
 
	{
 
		return NULL;
 
		// Print out the sensor ID if there is no label in the lookup table
 
		snprintf(labelBuffer, 15,"%u",sensorID);
 
		return labelBuffer;
 
	}
 
}
 

	
0 comments (0 inline, 0 general)