Compilation failure. Thanks Jenkins!

This commit is contained in:
Bertrand Songis
2014-02-19 16:57:02 +01:00
parent 7c4214d5b9
commit b3e2e8e321
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -778,7 +778,7 @@ bool check(check_event_t event, uint8_t curr, const MenuFuncP *menuTab, uint8_t
vertpos_t realPgOfs = s_pgOfs;
vertpos_t realMaxrow = maxrow;
for (vertpos_t i=1; i<=maxrow; i++) {
if (MAXCOL_RAW(i) == HIDDEN_ROW) {
if (MAXCOL(i) == HIDDEN_ROW) {
realMaxrow--;
if (i < l_posVert)
realPosVert--;
@@ -790,7 +790,7 @@ bool check(check_event_t event, uint8_t curr, const MenuFuncP *menuTab, uint8_t
else if (realPosVert<1+realPgOfs) realPgOfs = realPosVert-1;
s_pgOfs = realPgOfs;
for (vertpos_t i=1; i<=realPgOfs; i++) {
if (MAXCOL_RAW(i) == HIDDEN_ROW) {
if (MAXCOL(i) == HIDDEN_ROW) {
s_pgOfs++;
}
}
+2 -1
View File
@@ -323,8 +323,9 @@ enum BacklightMode {
#define SPLASH_MODE uint8_t splashMode:1; uint8_t spare4:2
#endif
#if defined(PCBTARANIS)
#define POTS_POS_COUNT 6
#if defined(PCBTARANIS)
PACK(typedef struct {
uint8_t count;
uint8_t steps[POTS_POS_COUNT-1];