From ce877ba40ad02f30d774e023b09f2893a4002052 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 20 Sep 2019 09:57:47 -0700 Subject: [PATCH] AP_RangeFinder: fix build --- libraries/AP_RangeFinder/AP_RangeFinder_Bebop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.cpp b/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.cpp index d81a9b3a35..a43529c695 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.cpp +++ b/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.cpp @@ -123,7 +123,7 @@ unsigned short AP_RangeFinder_Bebop::get_threshold_at(int i_capture) case 0: if (i_capture < 139) { threshold_value = 4195; - ] else if (i_capture < 153) { + } else if (i_capture < 153) { threshold_value = waveform_mode0[i_capture - 139]; } else { threshold_value = 1200;