fix(radio): do not show Onebit on unsupported handsets (#6611)
This commit is contained in:
@@ -660,12 +660,14 @@ enum HatsMode {
|
||||
HATSMODE_GLOBAL
|
||||
};
|
||||
|
||||
#if defined(STM32F2) || defined(STM32F4)
|
||||
enum UartSampleModes {
|
||||
UART_SAMPLE_MODE_NORMAL = 0,
|
||||
UART_SAMPLE_MODE_ONEBIT,
|
||||
|
||||
UART_SAMPLE_MODE_MAX SKIP = UART_SAMPLE_MODE_ONEBIT
|
||||
};
|
||||
#endif
|
||||
|
||||
// PXX2 constants
|
||||
#define PXX2_LEN_REGISTRATION_ID 8
|
||||
|
||||
Reference in New Issue
Block a user