From 61b81c61834ab4649f2cb82426d6b0f9a8029e7b Mon Sep 17 00:00:00 2001 From: bkleiner Date: Sun, 5 Nov 2023 01:53:46 +0100 Subject: [PATCH] main: init vtx & rx last --- src/core/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/main.c b/src/core/main.c index da3cc9bb9..9c961c02e 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -130,17 +130,17 @@ __attribute__((__used__)) int main() { adc_init(); vbat_init(); - - rx_init(); - vtx_init(); + blackbox_init(); rgb_init(); - blackbox_init(); + // these take fairly long imu_init(); - osd_clear(); - perf_counter_init(); + vtx_init(); + rx_init(); + + perf_counter_init(); looptime_reset(); while (1) {