[DEBUG] Issue 162 fixed (Test function - while 1; to test the WDT - was not removed). Test label badly displayed when GVARS disabled.

This commit is contained in:
bsongis
2012-11-30 06:30:54 +00:00
parent c89d4b05c7
commit cdaa063188
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -2821,7 +2821,11 @@ void menuModelCustomFunctions(uint8_t event)
}
#if defined(DEBUG)
else if (sd->func == FUNC_TEST) {
#if defined(GVARS)
func_displayed = FUNC_TEST - 16 - NUM_STICKS - MAX_GVARS + 2;
#else
func_displayed = FUNC_TEST - 16 - NUM_STICKS + 1;
#endif
}
#endif
#if defined(GVARS)