1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-25 17:25:10 +03:00

TRACE test

This commit is contained in:
3djc 2016-09-09 20:41:48 +02:00
parent c0cc4e250e
commit 77010ee7e3

View file

@ -863,6 +863,7 @@ void checkSwitches()
continue;
}
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 defined(COLORLCD)
char s[8];