Skip to content

Commit

Permalink
Update furi_hal_subghz.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ankris812 authored Nov 17, 2023
1 parent 4b3e8ab commit d07d2a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions targets/f7/furi_hal/furi_hal_subghz.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,7 @@ uint32_t furi_hal_subghz_set_frequency_and_path(uint32_t value) {

uint32_t furi_hal_subghz_set_frequency(uint32_t value) {
if(furi_hal_region_is_frequency_allowed(value)) {
furi_hal_subghz.regulation = SubGhzRegulationTxRx;
} else {
furi_hal_subghz.regulation = SubGhzRegulationOnlyRx;
true;
}

furi_hal_spi_acquire(&furi_hal_spi_bus_handle_subghz);
Expand Down

0 comments on commit d07d2a9

Please sign in to comment.