mirror of
https://github.com/huuck/FlipperZeroNRFJammer.git
synced 2026-07-04 07:13:36 -07:00
Merge pull request #17 from W0rthlessS0ul/main
Automatic start of the five-volt GPIO pin
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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 |
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user