mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 16:56:25 +08:00
fmu: add ifdef for dsm_deinit()
This commit is contained in:
@@ -470,7 +470,9 @@ PX4FMU::~PX4FMU()
|
||||
/* make sure servos are off */
|
||||
up_pwm_servo_deinit();
|
||||
|
||||
#ifdef RC_SERIAL_PORT
|
||||
dsm_deinit();
|
||||
#endif
|
||||
|
||||
/* note - someone else is responsible for restoring the GPIO config */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user