diff --git a/compiled/nrf24_jammer[M].fap b/compiled/nrf24_jammer[M].fap index 8dc6641..2e72ce0 100644 Binary files a/compiled/nrf24_jammer[M].fap and b/compiled/nrf24_jammer[M].fap differ diff --git a/compiled/nrf24_jammer[OF].fap b/compiled/nrf24_jammer[OF].fap index cf64844..10a1622 100644 Binary files a/compiled/nrf24_jammer[OF].fap and b/compiled/nrf24_jammer[OF].fap differ diff --git a/compiled/nrf24_jammer[R].fap b/compiled/nrf24_jammer[R].fap index f151cb6..bc4edc5 100644 Binary files a/compiled/nrf24_jammer[R].fap and b/compiled/nrf24_jammer[R].fap differ diff --git a/compiled/nrf24_jammer[U].fap b/compiled/nrf24_jammer[U].fap index c998836..7b26912 100644 Binary files a/compiled/nrf24_jammer[U].fap and b/compiled/nrf24_jammer[U].fap differ diff --git a/jammer.c b/jammer.c index aee9dc7..c862b6b 100644 --- a/jammer.c +++ b/jammer.c @@ -203,12 +203,12 @@ static int32_t mj_worker_thread(void* ctx) { memcpy(&tx[1], ping_packet, size); #define nrf24_TIMEOUT 500 - nrf24_spi_trx(nrf24_HANDLE, tx, 0, size + 1, nrf24_TIMEOUT); - nrf24_set_tx_mode(nrf24_HANDLE); } NotificationApp* notification = furi_record_open(RECORD_NOTIFICATION); notification_message(notification, &sequence_blink_red_100); + + nrf24_set_tx_mode(nrf24_HANDLE); if(plugin_state->jam_type != 3) nrf24_startConstCarrier(nrf24_HANDLE, 3, hopping_channels[0]); @@ -274,8 +274,7 @@ int32_t jammer_app(void* p) { nrf24_init(); FURI_LOG_D(TAG, "nrf24 init done!"); PluginEvent event; - for(int i = 0; i < 128; i++) - hopping_channels_2[i] = i * 2; + for(int i = 0; i < 128; i++) hopping_channels_2[i] = i * 2; hopping_channels = hopping_channels_0; plugin_state->is_nrf24_connected = true; if(!nrf24_check_connected(nrf24_HANDLE)) {