From fac3f74ac92a583f6fc74eeadf03f238b9e0dff3 Mon Sep 17 00:00:00 2001 From: 3djc <3djc@gh.com> Date: Wed, 11 Sep 2024 10:28:42 +0200 Subject: [PATCH] fix: really need my eyes fixed... --- radio/src/targets/taranis/board.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/radio/src/targets/taranis/board.cpp b/radio/src/targets/taranis/board.cpp index a30c2ad019b..fb0ed3e263e 100644 --- a/radio/src/targets/taranis/board.cpp +++ b/radio/src/targets/taranis/board.cpp @@ -78,11 +78,11 @@ void boardInit() usbPlugged(); if (usbPlugged()) { - delaysInit(); - while (usbPlugged()) { - delay_ms(1000); - } - pwrOff(); + delaysInit(); + while (usbPlugged()) { + delay_ms(1000); + } + pwrOff(); } #endif