Issue 92 fixed (saves 114bytes flash)

This commit is contained in:
bsongis
2012-08-20 11:56:23 +00:00
parent 01fcc62e64
commit 2f423f73a0
12 changed files with 128 additions and 96 deletions
-5
View File
@@ -395,11 +395,6 @@ enum CswFunctions {
#define MAX_SWITCH (MAX_PSWITCH+NUM_CSW)
#define SWITCH_ON (1+MAX_SWITCH)
#define SWITCH_OFF (-SWITCH_ON)
#if defined(PCBARM)
#define MAX_DRSWITCH (MAX_PSWITCH+NUM_CSW) // 15(9+6) !switches + 0 + 15 switches: 5 bits needed
#else
#define MAX_DRSWITCH (MAX_PSWITCH+NUM_CSW/2) // 15(9+6) !switches + 0 + 15 switches: 5 bits needed
#endif
#define NUM_STICKS 4
#define NUM_POTS 3