mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-24 08:44:44 +01:00
Merge pull request #1104 from jj1bdx/jj1bdx-rigctl-get_powerstat-fix
rigctl_server: Add answering code for rigctl \get_powerstat
This commit is contained in:
commit
3b9867c1d7
@ -690,6 +690,11 @@ private:
|
||||
"0\n" /* RIG_PARM_NONE */;
|
||||
client->write(resp.size(), (uint8_t*)resp.c_str());
|
||||
}
|
||||
// This get_powerstat stuff is a wordaround for WSJT-X 2.7.0
|
||||
else if (parts[0] == "\\get_powerstat") {
|
||||
resp = "1\n";
|
||||
client->write(resp.size(), (uint8_t*)resp.c_str());
|
||||
}
|
||||
else {
|
||||
// If command is not recognized, return error
|
||||
flog::error("Rigctl client sent invalid command: '{0}'", cmd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user