Browse Source

AP_HAL: fix compilation for sitl-on-hw

apm_2208
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
0f48557ec2
  1. 4
      libraries/AP_HAL/SIMState.h

4
libraries/AP_HAL/SIMState.h

@ -63,7 +63,7 @@ public: @@ -63,7 +63,7 @@ public:
void set_gps0(SITL::GPS *_gps) { gps[0] = _gps; }
#endif
uint16_t pwm_output[16]; // was SITL_NUM_CHANNELS
uint16_t pwm_output[32]; // was SITL_NUM_CHANNELS
private:
void _set_param_default(const char *parm);
@ -212,6 +212,8 @@ private: @@ -212,6 +212,8 @@ private:
const char *_home_str;
uint32_t wind_start_delay_micros;
#if HAL_SIM_GPS_ENABLED
// simulated GPS devices
SITL::GPS *gps[2]; // constrained by # of parameter sets

Loading…
Cancel
Save