diff --git a/applications/main/subghz/subghz_extended_freq.c b/applications/main/subghz/subghz_extended_freq.c index e3feb29f1b..d7f41a25bf 100644 --- a/applications/main/subghz/subghz_extended_freq.c +++ b/applications/main/subghz/subghz_extended_freq.c @@ -16,7 +16,7 @@ void subghz_extended_freq() { } furi_hal_subghz_set_extended_frequency(is_extended_i); - furi_hal_subghz_set_bypass_regio(is_bypassed); + furi_hal_subghz_set_bypass_region(is_bypassed); flipper_format_free(file); furi_record_close(RECORD_STORAGE); diff --git a/targets/f7/api_symbols.csv b/targets/f7/api_symbols.csv index be080f3f96..14b51e894d 100644 --- a/targets/f7/api_symbols.csv +++ b/targets/f7/api_symbols.csv @@ -1664,7 +1664,7 @@ Function,+,furi_hal_subghz_reset,void, Function,+,furi_hal_subghz_rx,void, Function,+,furi_hal_subghz_rx_pipe_not_empty,_Bool, Function,+,furi_hal_subghz_set_async_mirror_pin,void,const GpioPin* -Function,+,furi_hal_subghz_set_bypass_regio,void,_Bool +Function,+,furi_hal_subghz_set_bypass_region,void,_Bool Function,+,furi_hal_subghz_set_ext_power_amp,void,_Bool Function,+,furi_hal_subghz_set_frequency,uint32_t,uint32_t Function,+,furi_hal_subghz_set_frequency_and_path,uint32_t,uint32_t diff --git a/targets/f7/furi_hal/furi_hal_subghz.c b/targets/f7/furi_hal/furi_hal_subghz.c index 64acfb23c8..5a632658b8 100644 --- a/targets/f7/furi_hal/furi_hal_subghz.c +++ b/targets/f7/furi_hal/furi_hal_subghz.c @@ -55,7 +55,7 @@ typedef struct { int8_t rolling_counter_mult; bool ext_power_amp : 1; bool extended_frequency_i : 1; - bool bypass_regio : 1; + bool bypass_region : 1; } FuriHalSubGhz; volatile FuriHalSubGhz furi_hal_subghz = { @@ -65,7 +65,7 @@ volatile FuriHalSubGhz furi_hal_subghz = { .rolling_counter_mult = 1, .ext_power_amp = false, .extended_frequency_i = false, - .bypass_regio = false, + .bypass_region = false, }; int8_t furi_hal_subghz_get_rolling_counter_mult(void) { @@ -80,8 +80,8 @@ void furi_hal_subghz_set_extended_frequency(bool state_i) { furi_hal_subghz.extended_frequency_i = state_i; } -void furi_hal_subghz_set_bypass_regio(bool enabled) { - furi_hal_subghz.bypass_regio = enabled; +void furi_hal_subghz_set_bypass_region(bool enabled) { + furi_hal_subghz.bypass_region = enabled; } void furi_hal_subghz_set_ext_power_amp(bool enabled) { @@ -407,12 +407,12 @@ uint32_t furi_hal_subghz_set_frequency_and_path(uint32_t value) { bool furi_hal_subghz_is_tx_allowed(uint32_t value) { bool allow_extended_for_int = furi_hal_subghz.extended_frequency_i; - bool bypass_regio = furi_hal_subghz.bypass_regio; + bool bypass_region = furi_hal_subghz.bypass_region; bool allowed = false; do { - if(bypass_regio) { + if(bypass_region) { if(!allow_extended_for_int && !furi_hal_subghz_is_frequency_valid(value)) { FURI_LOG_I(TAG, "Frequency blocked - outside default range"); break; diff --git a/targets/f7/furi_hal/furi_hal_subghz.h b/targets/f7/furi_hal/furi_hal_subghz.h index 9bff5106ce..5febd37e0f 100644 --- a/targets/f7/furi_hal/furi_hal_subghz.h +++ b/targets/f7/furi_hal/furi_hal_subghz.h @@ -287,7 +287,7 @@ void furi_hal_subghz_set_ext_power_amp(bool enabled); bool furi_hal_subghz_get_ext_power_amp(); -void furi_hal_subghz_set_bypass_regio(bool enabled); +void furi_hal_subghz_set_bypass_region(bool enabled); bool furi_hal_subghz_is_frequency_valid_extended(uint32_t value);