From 5ae0bb72996ff9c99e6c96de332dc9a845b6a56d Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sat, 10 Apr 2021 08:30:35 +0200 Subject: [PATCH 1/2] fixed typo --- radio/src/storage/eeprom_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/storage/eeprom_common.cpp b/radio/src/storage/eeprom_common.cpp index bd8138b6b..dffab63fb 100644 --- a/radio/src/storage/eeprom_common.cpp +++ b/radio/src/storage/eeprom_common.cpp @@ -132,7 +132,7 @@ void storageEraseAll(bool warn) TRACE("storageEraseAll"); generalDefault(); - setModelDefault(0); + setModelDefaults(0); if (warn) { ALERT(STR_STORAGE_WARNING, STR_BAD_RADIO_DATA, AU_BAD_RADIODATA); From 0571b49763bd454e9996cec1165129c0e308189f Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sat, 10 Apr 2021 09:22:02 +0200 Subject: [PATCH 2/2] missing include in gtests.h --- radio/src/tests/gtests.h | 1 + 1 file changed, 1 insertion(+) diff --git a/radio/src/tests/gtests.h b/radio/src/tests/gtests.h index 7a95d6688..7ecf7a3eb 100644 --- a/radio/src/tests/gtests.h +++ b/radio/src/tests/gtests.h @@ -27,6 +27,7 @@ #define SWAP_DEFINED #include "opentx.h" +#include "model_init.h" #define CHANNEL_MAX (1024*256)