Cosmetics

This commit is contained in:
Bertrand Songis
2019-07-19 13:33:48 +02:00
parent f4bfea8e59
commit f897a7daf6
2 changed files with 3 additions and 3 deletions
@@ -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);