Browse Source

RangeFinder: Removed the 3 bit limitation for the enumeration

mission-4.1.18
Dmitri Ranfft 6 years ago committed by Randy Mackay
parent
commit
f8af5afc53
  1. 2
      libraries/AP_RangeFinder/RangeFinder.h

2
libraries/AP_RangeFinder/RangeFinder.h

@ -166,7 +166,7 @@ private: @@ -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

Loading…
Cancel
Save