From b335886f42d6a0433469b294b9c78cc6622023cb Mon Sep 17 00:00:00 2001 From: Brumi-2021 <86470699+Brumi-2021@users.noreply.github.com> Date: Sat, 25 Sep 2021 16:37:30 +0200 Subject: [PATCH] Update main.cpp Remove initial short wrong Ant-DC_BIAS pulse. (250 msegs aprox) --- firmware/application/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/application/main.cpp b/firmware/application/main.cpp index 1e5703e1..59ef942c 100755 --- a/firmware/application/main.cpp +++ b/firmware/application/main.cpp @@ -140,6 +140,9 @@ Continuous (Fox-oring) #include "sd_card.hpp" #include + +#include "rffc507x.hpp" /* c/m, avoiding initial short ON Ant_DC_Bias pulse, from cold reset */ +rffc507x::RFFC507x first_if; static void event_loop() { ui::Context context; @@ -160,6 +163,7 @@ static void event_loop() { } int main(void) { + first_if.init(); /* To avoid initial short Ant_DC_Bias pulse ,we need quick set up GP01_RFF507X =1 */ if( portapack::init() ) { portapack::display.init();