From f8af5afc53def28a50b2ad6d466608b65c0cd8a8 Mon Sep 17 00:00:00 2001 From: Dmitri Ranfft Date: Mon, 4 Feb 2019 10:30:05 +0900 Subject: [PATCH] RangeFinder: Removed the 3 bit limitation for the enumeration --- libraries/AP_RangeFinder/RangeFinder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RangeFinder/RangeFinder.h b/libraries/AP_RangeFinder/RangeFinder.h index a35a93b55d..2f97e91ec7 100644 --- a/libraries/AP_RangeFinder/RangeFinder.h +++ b/libraries/AP_RangeFinder/RangeFinder.h @@ -166,7 +166,7 @@ private: RangeFinder_State state[RANGEFINDER_MAX_INSTANCES]; AP_RangeFinder_Backend *drivers[RANGEFINDER_MAX_INSTANCES]; - uint8_t num_instances:3; + uint8_t num_instances; float estimated_terrain_height; AP_SerialManager &serial_manager; Vector3f pos_offset_zero; // allows returning position offsets of zero for invalid requests