Fixed alrge FFT size bug

pull/479/head 1.0.4
AlexandreRouma 2021-10-18 00:38:02 +02:00
rodzic ab1a482352
commit f539cfad32
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -30,8 +30,8 @@ inline void doZoom(int offset, int width, int outWidth, float* data, float* out,
if (offset < 0) {
offset = 0;
}
if (width > 65535) {
width = 65535;
if (width > 524288) {
width = 524288;
}
float factor = (float)width / (float)outWidth;

Wyświetl plik

@ -88,7 +88,7 @@ public:
devCount = bladerf_get_device_list(&devInfoList);
if (devCount < 0) {
spdlog::error("Could not list devices");
spdlog::error("Could not list devices {0}", devCount);
return;
}
for (int i = 0; i < devCount; i++) {