Fix T12 switch definitions

The T12 has SG instead of SF.
This commit is contained in:
Raphael Coeffic
2021-12-17 12:08:23 +01:00
committed by Raphael Coeffic
parent f8357be887
commit e854515147
7 changed files with 28 additions and 11 deletions
+5 -1
View File
@@ -161,7 +161,11 @@ void getSwitchesPosition(bool startup)
CHECK_3POS(3, SW_SF);
#elif defined(PCBX7)
CHECK_3POS(3, SW_SD);
CHECK_2POS(SW_SF);
#if defined(RADIO_T12)
CHECK_2POS(SW_SG);
#else
CHECK_2POS(SW_SF);
#endif
CHECK_2POS(SW_SH);
#else
CHECK_3POS(3, SW_SD);