mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-01 01:27:48 +03:00
Testing marauder +5 volt
This commit is contained in:
parent
921b47ac50
commit
9e2c3eb96d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user