mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: fix compilation for sitl-on-hw
This commit is contained in:
parent
ccbe62589e
commit
0f48557ec2
|
@ -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:
|
|||
|
||||
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…
Reference in New Issue