mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
[V10] Fixes
This commit is contained in:
parent
fe18f5a17f
commit
9cccae08d4
35 changed files with 608 additions and 275 deletions
|
@ -102,21 +102,21 @@ void onSourceLongEnterPress(const char * result)
|
|||
#if defined(NAVIGATION_HORUS)
|
||||
bool check_simple(event_t event, uint8_t curr, const MenuHandlerFunc *menuTab, uint8_t menuTabSize, int rowcount)
|
||||
{
|
||||
return check(event, curr, menuTab, menuTabSize, NULL, 0, rowcount);
|
||||
return check(event, curr, menuTab, menuTabSize, nullptr, 0, rowcount);
|
||||
}
|
||||
|
||||
bool check_submenu_simple(event_t event, uint8_t rowcount)
|
||||
{
|
||||
return check_simple(event, 0, NULL, 0, rowcount);
|
||||
return check_simple(event, 0, nullptr, 0, rowcount);
|
||||
}
|
||||
#else
|
||||
void check_simple(event_t event, uint8_t curr, const MenuHandlerFunc *menuTab, uint8_t menuTabSize, vertpos_t rowcount)
|
||||
{
|
||||
check(event, curr, menuTab, menuTabSize, nullptr, 0, rowcount);
|
||||
}
|
||||
|
||||
void check_submenu_simple(event_t event, uint8_t rowcount)
|
||||
{
|
||||
check_simple(event, 0, nullptr, 0, rowcount);
|
||||
}
|
||||
|
||||
void check_simple(event_t event, uint8_t curr, const MenuHandlerFunc *menuTab, uint8_t menuTabSize, vertpos_t rowcount)
|
||||
{
|
||||
check(event, curr, menuTab, menuTabSize, 0, 0, rowcount);
|
||||
}
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue