forked from Archive/PX4-Autopilot
Spektrum passive power: Only use if present
This commit is contained in:
parent
641cc33d79
commit
a444d2610a
|
@ -64,7 +64,7 @@ RCInput::RCInput(const char *device) :
|
|||
|
||||
RCInput::~RCInput()
|
||||
{
|
||||
#if defined(SPEKTRUM_POWER)
|
||||
#if defined(SPEKTRUM_POWER_PASSIVE)
|
||||
// Disable power controls for Spektrum receiver
|
||||
SPEKTRUM_POWER_PASSIVE();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue