From 786d14cd3cad777fa0cab5dc4338a8c4f2b20da7 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Sun, 14 Feb 2016 16:05:50 -0800 Subject: [PATCH] AP_RangeFinder: For LightWareSerial, write 'd' to support more devices --- libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.cpp b/libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.cpp index bac5c389f9..7f52a04eaf 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.cpp +++ b/libraries/AP_RangeFinder/AP_RangeFinder_LightWareSerial.cpp @@ -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;