fix(radio): do not show Onebit on unsupported handsets (#6611)

This commit is contained in:
3djc
2025-10-01 18:07:18 +10:00
committed by GitHub
parent c1b7e23468
commit 5f3a1977ac
10 changed files with 12 additions and 6 deletions
+2
View File
@@ -1072,7 +1072,9 @@ PACK(struct RadioData {
CUST_ATTR(rotEncDirection, r_rotEncDirection, nullptr);
NOBACKUP(uint8_t rotEncMode:3);
#if defined(STM32F2) || defined(STM32F4)
NOBACKUP(int8_t uartSampleMode:2); // See UartSampleModes
#endif
#if defined(STICK_DEAD_ZONE)
NOBACKUP(uint8_t stickDeadZone:3);