center freq
This commit is contained in:
parent
dd370499f8
commit
1f783793db
2
main.cpp
2
main.cpp
|
@ -165,7 +165,7 @@ int main(int argc, char* argv[])
|
||||||
bladerf_close(bladerf_dev);
|
bladerf_close(bladerf_dev);
|
||||||
};
|
};
|
||||||
std::atexit(BladeRFClose);
|
std::atexit(BladeRFClose);
|
||||||
if((status = bladerf_set_frequency(bladerf_dev, BLADERF_CHANNEL_RX(0), 1'664'000'000)) != 0) {
|
if((status = bladerf_set_frequency(bladerf_dev, BLADERF_CHANNEL_RX(0), 1'655'000'000)) != 0) {
|
||||||
std::cerr << "failed to set bladeRF frequency: " << bladerf_strerror(status) << std::endl;
|
std::cerr << "failed to set bladeRF frequency: " << bladerf_strerror(status) << std::endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue