TRACE test
This commit is contained in:
@@ -863,6 +863,7 @@ void checkSwitches()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!(g_model.potsWarnEnabled & (1 << i))) {
|
if (!(g_model.potsWarnEnabled & (1 << i))) {
|
||||||
|
TRACE("POT:%d WANT:%d GOT:%d STATUS:%s", i, g_model.potsWarnPosition[i],GET_LOWRES_POT_POSITION(i), (abs(g_model.potsWarnPosition[i] - GET_LOWRES_POT_POSITION(i)) > 1) ? "FAIL" : "PASS");
|
||||||
if (abs(g_model.potsWarnPosition[i] - GET_LOWRES_POT_POSITION(i)) > 1) {
|
if (abs(g_model.potsWarnPosition[i] - GET_LOWRES_POT_POSITION(i)) > 1) {
|
||||||
#if defined(COLORLCD)
|
#if defined(COLORLCD)
|
||||||
char s[8];
|
char s[8];
|
||||||
|
|||||||
Reference in New Issue
Block a user