Improved detection of M17 frames to avoid spurious decodes

This commit is contained in:
AlexandreRouma
2023-02-18 16:08:57 +01:00
parent 93e985ab54
commit 1f97e9e10b
2 changed files with 59 additions and 0 deletions

View File

@@ -227,6 +227,15 @@ private:
config.release(true);
}
ImGui::TextUnformatted("Status:");
ImGui::SameLine();
if (_this->decoder.isReceiving()) {
ImGui::TextColored(ImVec4(0.0, 1.0, 0.0, 1.0), "Receiving");
}
else {
ImGui::TextUnformatted("Idle");
}
if (!_this->enabled) { style::endDisabled(); }
}