From 9e2c3eb96d958c6892e8843d272c34f7246a7d58 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Mon, 19 Dec 2022 23:33:11 +0300 Subject: [PATCH] Testing marauder +5 volt --- .../plugins/wifi_marauder_companion/wifi_marauder_app.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/applications/plugins/wifi_marauder_companion/wifi_marauder_app.c b/applications/plugins/wifi_marauder_companion/wifi_marauder_app.c index 2a4b23e8b..705473759 100644 --- a/applications/plugins/wifi_marauder_companion/wifi_marauder_app.c +++ b/applications/plugins/wifi_marauder_companion/wifi_marauder_app.c @@ -90,6 +90,9 @@ void wifi_marauder_app_free(WifiMarauderApp* app) { int32_t wifi_marauder_app(void* p) { UNUSED(p); + furi_hal_power_enable_otg(); + furi_delay_ms(300); + WifiMarauderApp* wifi_marauder_app = wifi_marauder_app_alloc(); wifi_marauder_app->uart = wifi_marauder_uart_init(wifi_marauder_app); @@ -98,5 +101,7 @@ int32_t wifi_marauder_app(void* p) { wifi_marauder_app_free(wifi_marauder_app); + furi_hal_power_disable_otg(); + return 0; }