Fix T12 switches

This commit is contained in:
3djc
2019-06-27 14:34:31 +02:00
parent 7b7ae1a494
commit df95e31666
2 changed files with 2 additions and 6 deletions
@@ -303,6 +303,7 @@ void convertRadioData_218_to_219(RadioData & settings)
#endif
#if defined(RADIO_T12)
g_eeGeneral.switchConfig = bfSet<uint32_t>(g_eeGeneral.switchConfig, SWITCH_2POS, 10, 2); // T12 comes with wrongly defined pot2
g_eeGeneral.potsConfig = bfSet<uint32_t>(g_eeGeneral.potsConfig, POT_WITHOUT_DETENT, 2, 2); // T12 comes with wrongly defined pot2
#endif
}