removed check for too low tuning frequency now that we permit tuning down to 0 Hz
This commit is contained in:
@ -61,8 +61,6 @@ bool set_freq(const uint64_t freq)
|
||||
|
||||
const max2837_mode_t prior_max2837_mode = max2837_mode();
|
||||
max2837_mode_standby();
|
||||
if(freq_mhz >= MIN_LP_FREQ_MHZ)
|
||||
{
|
||||
if(freq_mhz < MAX_LP_FREQ_MHZ)
|
||||
{
|
||||
rf_path_set_filter(RF_PATH_FILTER_LOW_PASS);
|
||||
@ -105,11 +103,6 @@ bool set_freq(const uint64_t freq)
|
||||
/* Error freq_mhz too high */
|
||||
success = false;
|
||||
}
|
||||
}else
|
||||
{
|
||||
/* Error freq_mhz too low */
|
||||
success = false;
|
||||
}
|
||||
max2837_set_mode(prior_max2837_mode);
|
||||
if( success ) {
|
||||
freq_cache = freq;
|
||||
|
Reference in New Issue
Block a user