From 2e912608a80be801bc943b1806bfbe4c32af4e50 Mon Sep 17 00:00:00 2001 From: Ben Lye Date: Mon, 16 Sep 2019 20:44:13 +0100 Subject: [PATCH] Update Validate.h --- Multiprotocol/Validate.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Multiprotocol/Validate.h b/Multiprotocol/Validate.h index a360016..9726249 100644 --- a/Multiprotocol/Validate.h +++ b/Multiprotocol/Validate.h @@ -303,6 +303,11 @@ #endif #endif +// Disable scanner protocol if scanner telemetry is disabled +#ifndef SCANNER_TELEMETRY + #undef SCANNER_CC2500_INO +#endif + //Make sure TX is defined correctly #ifndef AILERON #error You must select a correct channel order.