Testing marauder +5 volt

This commit is contained in:
MX 2022-12-19 23:33:11 +03:00
parent 921b47ac50
commit 9e2c3eb96d
No known key found for this signature in database
GPG Key ID: 6C4C311DFD4B4AB5

View File

@ -90,6 +90,9 @@ void wifi_marauder_app_free(WifiMarauderApp* app) {
int32_t wifi_marauder_app(void* p) { int32_t wifi_marauder_app(void* p) {
UNUSED(p); UNUSED(p);
furi_hal_power_enable_otg();
furi_delay_ms(300);
WifiMarauderApp* wifi_marauder_app = wifi_marauder_app_alloc(); WifiMarauderApp* wifi_marauder_app = wifi_marauder_app_alloc();
wifi_marauder_app->uart = wifi_marauder_uart_init(wifi_marauder_app); 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); wifi_marauder_app_free(wifi_marauder_app);
furi_hal_power_disable_otg();
return 0; return 0;
} }