mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
Spektrum passive power: Only use if present
This commit is contained in:
@@ -64,7 +64,7 @@ RCInput::RCInput(const char *device) :
|
|||||||
|
|
||||||
RCInput::~RCInput()
|
RCInput::~RCInput()
|
||||||
{
|
{
|
||||||
#if defined(SPEKTRUM_POWER)
|
#if defined(SPEKTRUM_POWER_PASSIVE)
|
||||||
// Disable power controls for Spektrum receiver
|
// Disable power controls for Spektrum receiver
|
||||||
SPEKTRUM_POWER_PASSIVE();
|
SPEKTRUM_POWER_PASSIVE();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user