[FL-1590] SubGhz: fix incorrect limits on frequency that were causing crashes #607

This commit is contained in:
あく
2021-07-30 14:15:01 +03:00
committed by Aleksandr Kutuzov
parent 0c7a8edf51
commit 0bc3828fd9
3 changed files with 27 additions and 22 deletions
@@ -104,6 +104,11 @@ void api_hal_subghz_tx();
/** Get RSSI value in dBm */
float api_hal_subghz_get_rssi();
/** Check if frequency is in valid range
* @return true if frequncy is valid, otherwise false
*/
bool api_hal_subghz_is_frequency_valid(uint32_t value);
/** Set frequency and path
* This function automatically selects antenna matching network
* @param frequency in herz