1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-25 01:05:08 +03:00

Cosmetics

This commit is contained in:
Bertrand Songis 2019-07-19 13:33:48 +02:00
parent f4bfea8e59
commit f897a7daf6
No known key found for this signature in database
GPG key ID: F189F79290FEC50F
2 changed files with 3 additions and 3 deletions

View file

@ -102,7 +102,7 @@ void onUpdateStateChanged()
{
if (reusableBuffer.sdManager.otaUpdateInformation.step == BIND_INFO_REQUEST) {
uint8_t modelId = reusableBuffer.sdManager.otaUpdateInformation.receiverInformation.modelID;
if (modelId > 0 && modelId < DIM(PXX2ReceiversModels)) {
if (modelId > 0 && modelId < DIM(PXX2ReceiversNames)) {
if (isReceiverOptionAvailable(modelId, RECEIVER_OPTION_OTA)) {
POPUP_CONFIRMATION(getPXX2ReceiverName(modelId), onUpdateConfirmation);
char *tmp = strAppend(reusableBuffer.sdManager.otaReceiverVersion, TR_CURRENT_VERSION);