mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_Vehicle: fixed segfault in replay
This commit is contained in:
parent
7a7ac0cd73
commit
ec11bf1146
@ -130,7 +130,10 @@ void AP_Vehicle::setup()
|
||||
init_ardupilot();
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "ArduPilot Ready");
|
||||
|
||||
#if !APM_BUILD_TYPE(APM_BUILD_Replay)
|
||||
SRV_Channels::init();
|
||||
#endif
|
||||
|
||||
// gyro FFT needs to be initialized really late
|
||||
#if HAL_GYROFFT_ENABLED
|
||||
gyro_fft.init(AP::scheduler().get_loop_period_us());
|
||||
|
Loading…
Reference in New Issue
Block a user