Skip to content

Commit f539cfa

Browse files
Fixed alrge FFT size bug
1 parent ab1a482 commit f539cfa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/src/gui/widgets/waterfall.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ inline void doZoom(int offset, int width, int outWidth, float* data, float* out,
3030
if (offset < 0) {
3131
offset = 0;
3232
}
33-
if (width > 65535) {
34-
width = 65535;
33+
if (width > 524288) {
34+
width = 524288;
3535
}
3636

3737
float factor = (float)width / (float)outWidth;

source_modules/bladerf_source/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class BladeRFSourceModule : public ModuleManager::Instance {
8888

8989
devCount = bladerf_get_device_list(&devInfoList);
9090
if (devCount < 0) {
91-
spdlog::error("Could not list devices");
91+
spdlog::error("Could not list devices {0}", devCount);
9292
return;
9393
}
9494
for (int i = 0; i < devCount; i++) {

0 commit comments

Comments
 (0)