Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bladeRF_Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ bool bladeRF_SoapySDR::getGainMode(const int direction, const size_t channel) co
SoapySDR::logf(SOAPY_SDR_ERROR, "bladerf_get_gain_mode() returned %s", _err2str(ret).c_str());
throw std::runtime_error("getGainMode() " + _err2str(ret));
}
return gain_mode == BLADERF_GAIN_AUTOMATIC;
return gain_mode != BLADERF_GAIN_MANUAL;
}

std::vector<std::string> bladeRF_SoapySDR::listGains(const int direction, const size_t channel) const
Expand Down