mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
Fix hardware menu on some compilation options
This commit is contained in:
parent
b50c977dc9
commit
b3500fff4b
1 changed files with 6 additions and 1 deletions
|
@ -78,6 +78,11 @@ enum MenuRadioHardwareItems {
|
|||
|
||||
#define HW_SETTINGS_COLUMN 150
|
||||
|
||||
#if defined(AUX_SERIAL)
|
||||
#define AUX_SERIAL_ROW 0,
|
||||
#else
|
||||
#define AUX_SERIAL_ROW
|
||||
#endif
|
||||
|
||||
#define POTS_ROWS NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1
|
||||
#define SWITCHES_ROWS NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1, NAVIGATION_LINE_BY_LINE|1
|
||||
|
@ -135,7 +140,7 @@ bool menuRadioHardware(event_t event)
|
|||
|
||||
EXTERNAL_ANTENNA_ROW
|
||||
|
||||
0, /* aux serial mode */
|
||||
AUX_SERIAL_ROW /* aux serial mode */
|
||||
0, /* ADC filter */
|
||||
1, /* Debug */
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue