Project

General

Profile

Revision 1264

implemented sending bom data

View differences:

trunk/code/projects/diagnostic_station/robot/main.c
115 115
}
116 116

  
117 117
static void message_read_bom (int length, uint8_t *data){
118
	return;
118
	int16_t value;
119
	bom_refresh(BOM_ALL);
120
	value = (int16_t) bom_get((int)(*data));
121
	char senddata[2];
122
	senddata[0] = WORD_BYTE_0 (value);
123
	senddata[1] = WORD_BYTE_1 (value);
119 124
	
125
	wl_send_global_packet (robot_station_group, robot_station_data_bom, senddata, 2, 0);
120 126
}
121 127

  
122 128
// ***************************

Also available in: Unified diff