Revision 1261
Fixed naming
comm_robot.c | ||
---|---|---|
193 | 193 |
|
194 | 194 |
bool robot_read_bom (uint8_t num, uint16_t *value) |
195 | 195 |
{ |
196 |
send_request_packet(station_robot_read_bom, &num, 1); |
|
196 |
send_request_packet(station_robot_read_bom, (char *)&num, 1);
|
|
197 | 197 |
|
198 | 198 |
// Now the received data is in received_buffer/received_length |
199 | 199 |
if(received_length >= 2) |
... | ... | |
210 | 210 |
|
211 | 211 |
bool robot_read_rangefinder (uint8_t num, uint16_t *value) |
212 | 212 |
{ |
213 |
send_request_packet(station_robot_read_rangefinders, &num, 1);
|
|
213 |
send_request_packet(station_robot_read_rangefinder, (char *)&num, 1);
|
|
214 | 214 |
|
215 | 215 |
// Now the received data is in received_buffer/received_length |
216 | 216 |
if(received_length >= 2) |
Also available in: Unified diff