mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-02 21:04:45 +01:00
Fixed alrge FFT size bug
This commit is contained in:
parent
ab1a482352
commit
f539cfad32
@ -30,8 +30,8 @@ inline void doZoom(int offset, int width, int outWidth, float* data, float* out,
|
|||||||
if (offset < 0) {
|
if (offset < 0) {
|
||||||
offset = 0;
|
offset = 0;
|
||||||
}
|
}
|
||||||
if (width > 65535) {
|
if (width > 524288) {
|
||||||
width = 65535;
|
width = 524288;
|
||||||
}
|
}
|
||||||
|
|
||||||
float factor = (float)width / (float)outWidth;
|
float factor = (float)width / (float)outWidth;
|
||||||
|
@ -88,7 +88,7 @@ public:
|
|||||||
|
|
||||||
devCount = bladerf_get_device_list(&devInfoList);
|
devCount = bladerf_get_device_list(&devInfoList);
|
||||||
if (devCount < 0) {
|
if (devCount < 0) {
|
||||||
spdlog::error("Could not list devices");
|
spdlog::error("Could not list devices {0}", devCount);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (int i = 0; i < devCount; i++) {
|
for (int i = 0; i < devCount; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user