mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
[all] Compilation was broken except for Taranis :(
This commit is contained in:
parent
1c8b865d89
commit
33eeb4cc64
1 changed files with 8 additions and 7 deletions
|
@ -390,6 +390,7 @@ enum EnumKeys {
|
||||||
#define IS_3POS(sw) ((sw) == 0)
|
#define IS_3POS(sw) ((sw) == 0)
|
||||||
#define IS_MOMENTARY(sw) (sw == SWSRC_TRN)
|
#define IS_MOMENTARY(sw) (sw == SWSRC_TRN)
|
||||||
#define NUM_POTS 3
|
#define NUM_POTS 3
|
||||||
|
#define NUM_POTSSW 0
|
||||||
#define NUM_SW_SRCRAW 1
|
#define NUM_SW_SRCRAW 1
|
||||||
#define SW_DSM2_BIND SW_TRN
|
#define SW_DSM2_BIND SW_TRN
|
||||||
#endif
|
#endif
|
||||||
|
@ -398,14 +399,14 @@ enum EnumKeys {
|
||||||
#define NUM_SWITCH (NUM_PSWITCH+NUM_CSW+NUM_POTSSW)
|
#define NUM_SWITCH (NUM_PSWITCH+NUM_CSW+NUM_POTSSW)
|
||||||
|
|
||||||
#if defined(PCBTARANIS)
|
#if defined(PCBTARANIS)
|
||||||
#define KEY_RIGHT KEY_PLUS
|
#define KEY_RIGHT KEY_PLUS
|
||||||
#define KEY_LEFT KEY_MINUS
|
#define KEY_LEFT KEY_MINUS
|
||||||
#define KEY_UP KEY_PLUS
|
#define KEY_UP KEY_PLUS
|
||||||
#define KEY_DOWN KEY_MINUS
|
#define KEY_DOWN KEY_MINUS
|
||||||
#else
|
#else
|
||||||
#define KEY_ENTER KEY_MENU
|
#define KEY_ENTER KEY_MENU
|
||||||
#define KEY_PLUS KEY_RIGHT
|
#define KEY_PLUS KEY_RIGHT
|
||||||
#define KEY_MINUS KEY_LEFT
|
#define KEY_MINUS KEY_LEFT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "myeeprom.h"
|
#include "myeeprom.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue