mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-04 13:54:43 +01:00
slight bugfix
This commit is contained in:
parent
f6e0e2f39d
commit
0b7a7ca193
@ -11,6 +11,7 @@ namespace tuner {
|
||||
gui::waterfall.setViewOffset((BW / 2.0) - (viewBW / 2.0));
|
||||
gui::waterfall.setCenterFrequency(freq);
|
||||
gui::waterfall.setViewOffset(0);
|
||||
gui::freqSelect.setFrequency(freq);
|
||||
sigpath::sourceManager.tune(freq);
|
||||
}
|
||||
|
||||
@ -22,12 +23,6 @@ namespace tuner {
|
||||
|
||||
double viewBW = gui::waterfall.getViewBandwidth();
|
||||
double BW = gui::waterfall.getBandwidth();
|
||||
if (vfoName == "") {
|
||||
gui::waterfall.setViewOffset((BW / 2.0) - (viewBW / 2.0));
|
||||
gui::waterfall.setCenterFrequency(freq);
|
||||
sigpath::sourceManager.tune(freq);
|
||||
return;
|
||||
}
|
||||
|
||||
ImGui::WaterfallVFO* vfo = gui::waterfall.vfos[vfoName];
|
||||
|
||||
|
@ -304,6 +304,7 @@ Modules in beta are still included in releases for the most part but not enabled
|
||||
| discord_integration | Working | - | OPT_BUILD_DISCORD_PRESENCE | ✅ | ✅ | ⛔ |
|
||||
| frequency_manager | Beta | - | OPT_BUILD_FREQUENCY_MANAGER | ✅ | ✅ | ✅ |
|
||||
| recorder | Working | - | OPT_BUILD_RECORDER | ✅ | ✅ | ✅ |
|
||||
| rigctl_server | Unfinished | - | OPT_BUILD_RIGCTL_SERVER | ✅ | ✅ | ⛔ |
|
||||
|
||||
# Troubleshooting
|
||||
|
||||
|
@ -174,16 +174,20 @@ private:
|
||||
}
|
||||
|
||||
char buf[128];
|
||||
sprintf(buf, "%" PRIu64, (uint64_t)freq);
|
||||
sprintf(buf, "%" PRIu64 "\n", (uint64_t)freq);
|
||||
client->write(strlen(buf), (uint8_t*)buf);
|
||||
}
|
||||
else if (parts[0] == "AOS") {
|
||||
// TODO: Start Recorder
|
||||
core::modComManager.callInterface("Recorder", RECORDER_IFACE_CMD_START, NULL, NULL);
|
||||
resp = "RPRT 0\n";
|
||||
client->write(resp.size(), (uint8_t*)resp.c_str());
|
||||
}
|
||||
else if (parts[0] == "LOS") {
|
||||
// TODO: Stop Recorder
|
||||
core::modComManager.callInterface("Recorder", RECORDER_IFACE_CMD_STOP, NULL, NULL);
|
||||
resp = "RPRT 0\n";
|
||||
client->write(resp.size(), (uint8_t*)resp.c_str());
|
||||
}
|
||||
else if (parts[0] == "q") {
|
||||
// Will close automatically
|
||||
|
Loading…
x
Reference in New Issue
Block a user