[sky9x] Rotary encoder button may be used to clear alarms / warnings

This commit is contained in:
bsongis
2013-02-10 10:22:33 +00:00
parent d72c58ef92
commit 0d9544d914
5 changed files with 27 additions and 24 deletions
+4 -7
View File
@@ -1259,14 +1259,11 @@ char * strcat_zchar(char * dest, char * name, uint8_t size, const char *defaultN
#define ZLEN(s) zlen(s, sizeof(s))
#endif
// TODO perhaps better in menus.h ?
#if defined(PCBX9D) || defined(PCBACT)
#define KEY_MOVE_UP KEY_PLUS
#define KEY_MOVE_DOWN KEY_MINUS
// Stick tolerance varies between transmitters, Higher is better
#if defined (PCB9XR) || defined (PCB9XR128)
#define STICK_TOLERANCE 16
#else
#define KEY_MOVE_UP KEY_UP
#define KEY_MOVE_DOWN KEY_DOWN
#define STICK_TOLERANCE 64
#endif
#endif