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

This commit is contained in:
あく
2021-07-27 14:47:45 +03:00
committed by GitHub
parent 2313b948c6
commit 4c1ac2a13d
3 changed files with 27 additions and 22 deletions

View File

@@ -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