sync: don't fail camping on cell if current and target srate match

this fixes #3437. The check/requirement for target srate to be different
to current srate isn't needed, and in fact fails for 6 PRBs where both are
indentical always.
master
Andre Puschmann 3 years ago
parent 1068a84bd0
commit 908c469f30

@ -282,7 +282,7 @@ private:
bool set_camp(float new_srate) bool set_camp(float new_srate)
{ {
std::lock_guard<std::mutex> lock(mutex); std::lock_guard<std::mutex> lock(mutex);
if (current_srate != new_srate || srate_mode != SRATE_CAMP) { if (srate_mode != SRATE_CAMP) {
current_srate = new_srate; current_srate = new_srate;
srate_mode = SRATE_CAMP; srate_mode = SRATE_CAMP;
return true; return true;

Loading…
Cancel
Save