mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_HAL_ChibiOS: fix dshot150.
This commit is contained in:
parent
f6b1e15b0e
commit
721850d00a
@ -143,8 +143,8 @@ void RCOutput::rcout_thread()
|
||||
uint32_t cal_cycles = 5000000UL / 300UL;
|
||||
_dshot_calibrating = true;
|
||||
const uint32_t cycle_time_us = _dshot_period_us;
|
||||
// while calibrating run at 3Khz to allow arming
|
||||
_dshot_period_us = 300;
|
||||
// while calibrating run at 2.5Khz to allow arming, this is the fastest rate that dshot150 can manage
|
||||
_dshot_period_us = 400;
|
||||
|
||||
// prime the pump for calibration
|
||||
chEvtSignal(rcout_thread_ctx, EVT_PWM_SYNTHETIC_SEND);
|
||||
|
Loading…
Reference in New Issue
Block a user