feat: More flexible ADC inputs (#3870)

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
Raphael Coeffic
2023-11-02 11:07:53 +10:00
committed by GitHub
co-authored by 3djc Peter Feerick philmoz
parent f5593c44e8
commit b48e07026d
78 changed files with 1291 additions and 773 deletions
+4
View File
@@ -19,6 +19,8 @@
* GNU General Public License for more details.
*/
#include "hal/adc_driver.h"
#include "myeeprom.h"
#include "opentx.h"
#include "opentx_helpers.h"
#include "storage.h"
@@ -185,6 +187,8 @@ const char * loadRadioSettings()
g_eeGeneral.internalModule = DEFAULT_INTERNAL_MODULE;
#endif
adcCalibDefaults();
const char* error = loadRadioSettingsYaml(true);
if (!error) {
g_eeGeneral.chkSum = evalChkSum();