mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-31 11:19:18 +00:00
Add [[maybe_unused]] to silence warnings
This commit is contained in:
parent
dfbdd4bc76
commit
d8fabdb4ac
@ -157,7 +157,7 @@ void cfg_ad9361_streaming_ch(struct stream_cfg *cfg, iio_channel *chn)
|
||||
|
||||
|
||||
int setup_filter(const std::string &filter_source_, uint64_t bandwidth_, uint64_t sample_rate_, uint64_t freq_, const std::string &rf_port_select_,
|
||||
struct iio_device *ad9361_phy_dev, struct iio_channel *rx_chan, struct iio_channel *chn, int chid, std::string filter_filename_, float Fpass_, float Fstop_)
|
||||
struct iio_device *ad9361_phy_dev, struct iio_channel *rx_chan, struct iio_channel *chn, int chid, std::string filter_filename_, [[maybe_unused]] float Fpass_, [[maybe_unused]] float Fstop_)
|
||||
{
|
||||
int ret;
|
||||
if (filter_source_ == "Off")
|
||||
|
@ -805,7 +805,7 @@ double ad936x_iio_custom::get_rx_gain(int ch_num)
|
||||
}
|
||||
|
||||
|
||||
bool ad936x_iio_custom::calibrate(int ch, double bw_hz)
|
||||
bool ad936x_iio_custom::calibrate([[maybe_unused]] int ch, [[maybe_unused]] double bw_hz)
|
||||
{
|
||||
if (check_device() == false) return false;
|
||||
// todo
|
||||
|
Loading…
Reference in New Issue
Block a user