From 7b35b4bcc873843a8423361c46980baedaa386cf Mon Sep 17 00:00:00 2001 From: bsongis Date: Sat, 11 Jul 2015 17:50:48 +0200 Subject: [PATCH] [Taranis X9E] The battery is a NI-MH 9.6V - 2000mAh --- radio/src/opentx.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index eb77a8b9c..29ab83511 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -271,7 +271,13 @@ void generalDefault() g_eeGeneral.switchConfig = 0x00007bff; // 6x3POS, 1x2POS, 1xTOGGLE #endif -#if defined(PCBTARANIS) +#if defined(PCBTARANIS) && defined(REV9E) + // NI-MH 9.6V + g_eeGeneral.vBatWarn = 87; + g_eeGeneral.vBatMin = -5; + g_eeGeneral.vBatMax = -5; +#elif defined(PCBTARANIS) + // NI-MH 7.2V g_eeGeneral.vBatWarn = 65; g_eeGeneral.vBatMin = -30; g_eeGeneral.vBatMax = -40;