Slight fixes on the hrpt decoder and new version

This commit is contained in:
Ryzerth 2021-08-01 14:48:47 +02:00
parent 99096885f5
commit d9a0243905
2 changed files with 72 additions and 64 deletions

View File

@ -1,3 +1,3 @@
#pragma once
#define VERSION_STR "1.0.0_rc5"
#define VERSION_STR "1.0.0"

View File

@ -7,6 +7,7 @@
#include <dsp/sink.h>
#include <gui/widgets/symbol_diagram.h>
#include <gui/widgets/line_push_image.h>
#include <gui/gui.h>
#define NOAA_HRPT_VFO_SR 3000000.0f
#define NOAA_HRPT_VFO_BW 2000000.0f
@ -212,6 +213,8 @@ public:
ImGui::SetNextItemWidth(menuWidth);
symDiag.draw();
if (showWindow) {
gui::mainWindow.lockWaterfallControls = true;
ImGui::Begin("NOAA HRPT Decoder");
ImGui::BeginTabBar("NOAAHRPTTabs");
@ -278,6 +281,9 @@ public:
ImGui::EndTabBar();
ImGui::End();
}
ImGui::Checkbox("Show Image", &showWindow);
};
private:
@ -561,4 +567,6 @@ private:
dsp::stream<uint16_t> compositeIn2;
std::thread compositeThread;
bool showWindow = false;
};