mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 19:19:06 +08:00
NuttX use toolchain math.h and avoid empty drivers/Kconfig
This commit is contained in:
parent
a8e7ddd44e
commit
99aae8b891
@ -322,7 +322,6 @@ PCA9685::Run()
|
||||
(double)_actuator_controls.control[i]);
|
||||
|
||||
if (new_value != _current_values[i] &&
|
||||
isfinite(new_value) &&
|
||||
new_value >= PCA9685_PWMMIN &&
|
||||
new_value <= PCA9685_PWMMAX) {
|
||||
/* This value was updated, send the command to adjust the PWM value */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user