Browse Source

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

mission-4.1.18
Tom Pittenger 9 years ago
parent
commit
786d14cd3c
  1. 2
      libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.cpp

2
libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.cpp

@ -75,7 +75,7 @@ bool AP_RangeFinder_LightWareSerial::get_reading(uint16_t &reading_cm) @@ -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;

Loading…
Cancel
Save