Spektrum passive power: Only use if present

This commit is contained in:
Lorenz Meier 2020-12-31 12:26:49 +01:00
parent 641cc33d79
commit a444d2610a
1 changed files with 1 additions and 1 deletions

View File

@ -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