Skip to content

Commit

Permalink
main: init vtx & rx last
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Nov 5, 2023
1 parent 8bf2ef9 commit 61b81c6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 61b81c6

Please sign in to comment.