1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

Introduce POPUP_INFORMATION window

This commit is contained in:
3djc 2019-02-07 10:17:19 +01:00
parent c5e8f18611
commit d01f1e8b3e
17 changed files with 23 additions and 8 deletions

View file

@ -86,7 +86,7 @@ void processRegisterFrame(uint8_t module, uint8_t * frame)
if (memcmp(&frame[4], g_model.modelRegistrationID, PXX2_LEN_REGISTRATION_ID) == 0) {
reusableBuffer.modelsetup.pxx2_register_or_bind_step = REGISTER_OK;
moduleSettings[module].mode = MODULE_MODE_NORMAL;
POPUP_WARNING(STR_REG_OK);
POPUP_INFORMATION(STR_REG_OK);
}
}
}
@ -125,7 +125,7 @@ void processBindFrame(uint8_t module, uint8_t * frame)
if (memcmp(reusableBuffer.modelsetup.pxx2_bind_candidate_receivers_ids[reusableBuffer.modelsetup.pxx2_bind_selected_receiver_index], &frame[4], PXX2_LEN_RX_ID) == 0) {
reusableBuffer.modelsetup.pxx2_register_or_bind_step = BIND_OK;
moduleSettings[module].mode = MODULE_MODE_NORMAL;
POPUP_WARNING(STR_BIND_OK);
POPUP_INFORMATION(STR_BIND_OK);
}
}
}