Skip to content

Commit

Permalink
Fixed alrge FFT size bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreRouma committed Oct 17, 2021
1 parent ab1a482 commit f539cfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/src/gui/widgets/waterfall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion source_modules/bladerf_source/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class BladeRFSourceModule : public ModuleManager::Instance {

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++) {
Expand Down

0 comments on commit f539cfa

Please sign in to comment.