AP_RangeFinder: For LightWareSerial, write 'd' to support more devices
This commit is contained in:
parent
b76aff2dcb
commit
786d14cd3c
@ -75,7 +75,7 @@ bool AP_RangeFinder_LightWareSerial::get_reading(uint16_t &reading_cm)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// we need to write a byte to prompt another reading
|
// we need to write a byte to prompt another reading
|
||||||
uart->write('\n');
|
uart->write('d');
|
||||||
|
|
||||||
if (count == 0) {
|
if (count == 0) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user