mirror of
https://github.com/opentx/opentx.git
synced 2025-07-20 14:55:13 +03:00
[9XR-PRO] Valgrind warnings removed
This commit is contained in:
parent
57f5f68804
commit
f4eab9bf58
1 changed files with 5 additions and 2 deletions
|
@ -168,8 +168,11 @@ void menuModelSetup(uint8_t event)
|
|||
uint8_t k = i+s_pgOfs;
|
||||
#if defined(CPUARM)
|
||||
for (int j=0; j<=k; j++) {
|
||||
if (mstate_tab[j+1] == HIDDEN_ROW)
|
||||
k++;
|
||||
if (mstate_tab[j+1] == HIDDEN_ROW) {
|
||||
if (++k >= (int)DIM(mstate_tab)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue