RangeFinder: Removed the 3 bit limitation for the enumeration

This commit is contained in:
Dmitri Ranfft 2019-02-04 10:30:05 +09:00 committed by Randy Mackay
parent 5eff01a86f
commit f8af5afc53
1 changed files with 1 additions and 1 deletions

View File

@ -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