From c4b9c26fcc2232d369f56d25282bb7234da03ab1 Mon Sep 17 00:00:00 2001 From: Richard Li Date: Tue, 27 Jul 2021 15:16:27 +0800 Subject: [PATCH] Added NV14 specific definitions. --- radio/src/opentx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 42827f98e..0bb88ac0f 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -538,11 +538,11 @@ void checkBacklight() resetBacklightTimeout(); } } - #if defined(HARDWARE_TOUCH) +#if defined(HARDWARE_TOUCH) && defined(PCBNV14) if (touchPanelEventOccured() && (g_eeGeneral.backlightMode & e_backlight_mode_keys)) { resetBacklightTimeout(); } - #endif +#endif if (requiredBacklightBright == BACKLIGHT_FORCED_ON) { currentBacklightBright = g_eeGeneral.backlightBright;