[all] Compilation was broken except for Taranis :(
This commit is contained in:
+8
-7
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user