mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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; }
|
void set_gps0(SITL::GPS *_gps) { gps[0] = _gps; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint16_t pwm_output[16]; // was SITL_NUM_CHANNELS
|
uint16_t pwm_output[32]; // was SITL_NUM_CHANNELS
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void _set_param_default(const char *parm);
|
void _set_param_default(const char *parm);
|
||||||
@ -212,6 +212,8 @@ private:
|
|||||||
|
|
||||||
const char *_home_str;
|
const char *_home_str;
|
||||||
|
|
||||||
|
uint32_t wind_start_delay_micros;
|
||||||
|
|
||||||
#if HAL_SIM_GPS_ENABLED
|
#if HAL_SIM_GPS_ENABLED
|
||||||
// simulated GPS devices
|
// simulated GPS devices
|
||||||
SITL::GPS *gps[2]; // constrained by # of parameter sets
|
SITL::GPS *gps[2]; // constrained by # of parameter sets
|
||||||
|
Loading…
Reference in New Issue
Block a user