mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_PiccoloCAN: fix for new param set
This commit is contained in:
parent
eaf41912ce
commit
7cacb7972f
@ -208,7 +208,7 @@ void AP_PiccoloCAN::loop()
|
||||
|
||||
uint16_t servoCmdRateMs = 1000 / _srv_hz;
|
||||
#if HAL_EFI_CURRAWONG_ECU_ENABLED
|
||||
_ecu_hz = constrain_int16(_ecu_hz, PICCOLO_MSG_RATE_HZ_MIN, PICCOLO_MSG_RATE_HZ_MAX);
|
||||
_ecu_hz.set(constrain_int16(_ecu_hz, PICCOLO_MSG_RATE_HZ_MIN, PICCOLO_MSG_RATE_HZ_MAX));
|
||||
|
||||
uint16_t ecuCmdRateMs = 1000 / _ecu_hz;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user