mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 05:50:34 +08:00
NuttX use toolchain math.h and avoid empty drivers/Kconfig
This commit is contained in:
committed by
Lorenz Meier
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 */
|
||||
|
||||
Reference in New Issue
Block a user