X7 hardware defaults changed to match production hardware
This commit is contained in:
@@ -1105,6 +1105,10 @@ GeneralSettings::GeneralSettings()
|
||||
potConfig[1] = POT_MULTIPOS_SWITCH;
|
||||
potConfig[2] = POT_WITH_DETENT;
|
||||
}
|
||||
else if (IS_TARANIS_X7(board)) {
|
||||
potConfig[0] = POT_WITHOUT_DETENT;
|
||||
potConfig[1] = POT_WITH_DETENT;
|
||||
}
|
||||
else if (IS_TARANIS(board)) {
|
||||
potConfig[0] = POT_WITH_DETENT;
|
||||
potConfig[1] = POT_WITH_DETENT;
|
||||
|
||||
@@ -246,6 +246,8 @@ void generalDefault()
|
||||
#endif
|
||||
g_eeGeneral.slidersConfig = 0x0f; // 4 sliders
|
||||
g_eeGeneral.blOffBright = 20;
|
||||
#elif defined(PCBX7)
|
||||
g_eeGeneral.potsConfig = 0x07; // S1 = pot without detent, S2 = pot with detent
|
||||
#elif defined(PCBTARANIS)
|
||||
g_eeGeneral.potsConfig = 0x05; // S1 and S2 = pots with detent
|
||||
g_eeGeneral.slidersConfig = 0x03; // LS and RS = sliders with detent
|
||||
|
||||
Reference in New Issue
Block a user