diff --git a/README.md b/README.md index a4f8447..c79e2c5 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,6 @@ Example of the spectrum at 2.440 Ghz: It's crashing, what do I do? * It's a known issue, stop bashing buttons randomly while the nRF is engaged. For anything else file a ticket with PRECISE steps to reproduce -It's not recognising my nRF! -* Enable 5V on GPIO. Keep in mind this setting does not "stick" depending on your FW and needs to be enabled after a reboot. - It's not working very well. * Set Log Level to None and disable any debugging features as they eat precious CPU cycles. diff --git a/compiled/README.md b/compiled/README.md new file mode 100644 index 0000000..2ba87c5 --- /dev/null +++ b/compiled/README.md @@ -0,0 +1,6 @@ +# Types of Firmware: +|firmware |file name | +|------------|---------------------| +|Momentum |nrf24_jammer[M].zip | +|Unleashed |nrf24_jammer[U].zip | +|Official |nrf24_jammer[OF].zip | \ No newline at end of file diff --git a/compiled/nrf24_jammer[M].zip b/compiled/nrf24_jammer[M].zip new file mode 100644 index 0000000..ea020ae Binary files /dev/null and b/compiled/nrf24_jammer[M].zip differ diff --git a/compiled/nrf24_jammer[OF].zip b/compiled/nrf24_jammer[OF].zip new file mode 100644 index 0000000..c8d660a Binary files /dev/null and b/compiled/nrf24_jammer[OF].zip differ diff --git a/compiled/nrf24_jammer[U].zip b/compiled/nrf24_jammer[U].zip new file mode 100644 index 0000000..0214e73 Binary files /dev/null and b/compiled/nrf24_jammer[U].zip differ diff --git a/jammer.c b/jammer.c index fa3936c..12a1be5 100644 --- a/jammer.c +++ b/jammer.c @@ -183,6 +183,7 @@ static int32_t mj_worker_thread(void* ctx) { int32_t jammer_app(void* p) { UNUSED(p); + if(!furi_hal_power_is_otg_enabled()) furi_hal_power_enable_otg(); FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(PluginEvent)); dolphin_deed(DolphinDeedPluginStart); PluginState* plugin_state = malloc(sizeof(PluginState)); @@ -346,6 +347,7 @@ int32_t jammer_app(void* p) { furi_thread_free(plugin_state->jam_thread); FURI_LOG_D(TAG, "nrf24 deinit..."); nrf24_deinit(); + furi_hal_power_disable_otg(); view_port_enabled_set(view_port, false); gui_remove_view_port(gui, view_port); furi_record_close(RECORD_GUI);