AP_RangeFinder: For LightWareSerial, write 'd' to support more devices

This commit is contained in:
Tom Pittenger 2016-02-14 16:05:50 -08:00
parent b76aff2dcb
commit 786d14cd3c

View File

@ -75,7 +75,7 @@ bool AP_RangeFinder_LightWareSerial::get_reading(uint16_t &reading_cm)
}
// we need to write a byte to prompt another reading
uart->write('\n');
uart->write('d');
if (count == 0) {
return false;