First SOMO-14D tests
This commit is contained in:
+1
-1
@@ -2215,7 +2215,7 @@ void menuProcFunctionSwitches(uint8_t event)
|
|||||||
}
|
}
|
||||||
else if (sd->func == FUNC_PLAY_VALUE) {
|
else if (sd->func == FUNC_PLAY_VALUE) {
|
||||||
val_max = NUM_XCHNPLAY;
|
val_max = NUM_XCHNPLAY;
|
||||||
putsChnRaw(17*FW, y, val_displayed, attr);
|
putsChnRaw(17*FW, y, val_displayed+1, attr);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else if (sd->func == FUNC_RESET) {
|
else if (sd->func == FUNC_RESET) {
|
||||||
|
|||||||
+1
-1
@@ -1523,7 +1523,7 @@ void playValue(uint8_t idx)
|
|||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
uint8_t unit;
|
uint8_t unit;
|
||||||
if (idx <= NUM_XCHNRAW+TELEM_GPSALT-1)
|
if (idx >= NUM_XCHNRAW && idx <= NUM_XCHNRAW+TELEM_GPSALT-1)
|
||||||
unit = idx - NUM_XCHNRAW - 6;
|
unit = idx - NUM_XCHNRAW - 6;
|
||||||
else if (idx >= NUM_XCHNRAW+TELEM_MAX_T1-1 && idx <= NUM_XCHNRAW+TELEM_MAX_DIST-1)
|
else if (idx >= NUM_XCHNRAW+TELEM_MAX_T1-1 && idx <= NUM_XCHNRAW+TELEM_MAX_DIST-1)
|
||||||
unit = idx - NUM_XCHNRAW - 22;
|
unit = idx - NUM_XCHNRAW - 22;
|
||||||
|
|||||||
Reference in New Issue
Block a user