MEGA2560 didn't compile correctly

This commit is contained in:
bsongis
2014-12-08 20:20:13 +01:00
parent 2c591e810d
commit 4c2c85fe9f
9 changed files with 80 additions and 72 deletions
+1 -1
View File
@@ -4830,7 +4830,7 @@ void menuModelLogicalSwitches(uint8_t event)
// CSW name
uint8_t sw = SWSRC_SW1+k;
putsSwitches(0, y, sw, (getSwitch(sw) ? BOLD : 0) | ((sub==k && horz<0) ? INVERS : 0));
putsSwitches(0, y, sw, (getSwitch(sw) ? BOLD : 0) | ((sub==k && CURSOR_ON_LINE()) ? INVERS : 0));
// CSW func
lcd_putsiAtt(CSW_1ST_COLUMN, y, STR_VCSWFUNC, cs->func, horz==0 ? attr : 0);
+1 -1
View File
@@ -274,7 +274,7 @@ int8_t checkIncDecGen(uint8_t event, int8_t i_val, int8_t i_min, int8_t i_max);
#if defined(PCBTARANIS)
#define NAVIGATION_LINE_BY_LINE 0x40
#define CURSOR_ON_LINE() m_posHorz<0
#define CURSOR_ON_LINE() (m_posHorz<0)
#else
#define NAVIGATION_LINE_BY_LINE 0
#define CURSOR_ON_LINE() (0)