diff --git a/subghz/plugins/subghz_demo/README.md b/subghz/plugins/subghz_demo/README.md index 34ceae1..c39e7c4 100644 --- a/subghz/plugins/subghz_demo/README.md +++ b/subghz/plugins/subghz_demo/README.md @@ -97,11 +97,6 @@ sudo hackrf_transfer -r flipper-chat.rf -f 433920000 -s 8000000 -x 47 uint32_t frequency = 433920000; ``` - - Check to see if broadcasting is allowed on the frequency. - ``` - if (!furi_hal_subghz_is_tx_allowed(frequency)) { /* show error about TX not allowed! */ } - ``` - - Allocate the subghz TX/RX worker. ``` demo_context->subghz_txrx = subghz_tx_rx_worker_alloc(); diff --git a/subghz/plugins/subghz_demo/subghz_demo_app.c b/subghz/plugins/subghz_demo/subghz_demo_app.c index 3a42200..18bcf15 100644 --- a/subghz/plugins/subghz_demo/subghz_demo_app.c +++ b/subghz/plugins/subghz_demo/subghz_demo_app.c @@ -376,16 +376,6 @@ int32_t subghz_demo_app(void* p) { // TODO: Have an ordered list of frequencies we try, instead of just 1 frequency. - // Since this demo transmits RF, we see if it is allowed. - if(!furi_hal_subghz_is_tx_allowed(frequency)) { - FURI_LOG_E(TAG, "Transmit on frequency %ld not allowed", frequency); - - // For this demo we don't show a friendly error about not being - // allowed to broadcast on this frequency. Instead the application - // just exits. - return 1; - } - // Configure our initial data. DemoContext* demo_context = malloc(sizeof(DemoContext)); demo_context->mutex = furi_mutex_alloc(FuriMutexTypeNormal);