From 2b6e5ef5d8b7c5f02a3a095916370c6f13459fb7 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Thu, 8 Apr 2021 15:42:24 +0200 Subject: [PATCH] re-added calibration at start --- radio/src/opentx.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index c19056b9b..8276260cd 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -23,7 +23,7 @@ #if defined(LIBOPENUI) // #include "shutdown_animation.h" -// #include "radio_calibration.h" +#include "radio_calibration.h" #include "view_main.h" #endif @@ -1632,8 +1632,7 @@ void opentxStart(const uint8_t startOptions = OPENTX_START_DEFAULT_ARGS) #if defined(GUI) if (calibration_needed) { #if defined(LIBOPENUI) - #warning "TODO add a startCalibration function" - // startCalibration(); + startCalibration(); #else chainMenu(menuFirstCalib); #endif