From 8e7c2ed44074c12b97d247144a1d1b7f98f45797 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Tue, 6 May 2025 14:53:43 +0200 Subject: [PATCH] rc_update: allow payload power switch to be used for other boards than ARK FPV --- src/modules/rc_update/rc_update.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/rc_update/rc_update.cpp b/src/modules/rc_update/rc_update.cpp index 3f53321d52..d7932939e7 100644 --- a/src/modules/rc_update/rc_update.cpp +++ b/src/modules/rc_update/rc_update.cpp @@ -619,10 +619,8 @@ void RCUpdate::UpdateManualSwitches(const hrt_abstime ×tamp_sample) switches.video_switch = getRCSwitchOnOffPosition(rc_channels_s::FUNCTION_AUX_4, 0.5f); #endif -#if defined(PAYLOAD_POWER_EN) switches.payload_power_switch = getRCSwitchOnOffPosition(rc_channels_s::FUNCTION_PAYLOAD_POWER, _param_rc_payload_th.get()); -#endif // last 2 switch updates identical within 1 second (simple protection from bad RC data) if ((switches == _manual_switches_previous)