Project

General

Profile

Revision 1270

trying to debug bom communication

View differences:

trunk/code/projects/diagnostic_station/robot/main.c
117 117
static void message_read_bom (int length, uint8_t *data){
118 118
	int16_t value;
119 119
	bom_refresh(BOM_ALL);
120
	value = (int16_t) bom_get((int)(*data));
120
	value = bom_get((*data));
121 121
	char senddata[2];
122 122
	senddata[0] = WORD_BYTE_0 (value);
123 123
	senddata[1] = WORD_BYTE_1 (value);

Also available in: Unified diff