Revision 1605 branches/colonetmk2/code/projects/libwireless/lib/sensor_matrix.c

View differences:

sensor_matrix.c
91 91
{
92 92
#ifndef BAYBOARD
93 93
	if (observer >= MAXIMUM_XBEE_ID || robot >= MAXIMUM_XBEE_ID)
94
		return NULL;
94
		return 0;
95 95

  
96 96
	return &m.matrix[observer][robot];
97 97
#else

Also available in: Unified diff