mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-02 06:10:45 +08:00
fmu: add ifdef for dsm_deinit()
This commit is contained in:
1 parent
2193afd0a0
commit
07b7a153f3
1 file changed
+2
@@ -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