mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
Missing initialization
This commit is contained in:
parent
1ac1e65bca
commit
38d48fa49d
1 changed files with 2 additions and 1 deletions
|
@ -359,7 +359,8 @@ void menuModelSetup(event_t event)
|
|||
MENU_CHECK(menuTabModel, MENU_MODEL_SETUP, HEADER_LINE + ITEM_MODEL_SETUP_LINES_COUNT);
|
||||
title(STR_MENUSETUP);
|
||||
|
||||
if (event == EVT_ENTRY) {
|
||||
if (event == EVT_ENTRY || event == EVT_ENTRY_UP) {
|
||||
memclear(&reusableBuffer.moduleSetup, sizeof(reusableBuffer.moduleSetup));
|
||||
reusableBuffer.moduleSetup.r9mPower = g_model.moduleData[EXTERNAL_MODULE].pxx.power;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue