mirror of
https://git.code.sf.net/p/fldigi/flrig
synced 2026-08-13 17:28:24 -04:00
FT891
* add get_trace statement to get_ptt method
This commit is contained in:
parent
bbd4717327
commit
bf1889eae5
1 changed files with 3 additions and 0 deletions
|
|
@ -523,6 +523,9 @@ int RIG_FT891::get_PTT()
|
|||
size_t p = replystr.rfind(rsp);
|
||||
if (p == string::npos) return ptt_;
|
||||
ptt_ = (replystr[p+2] != '0' ? 1 : 0);
|
||||
|
||||
get_trace(4, "get_ptt():\n", cmd.c_str(), "\n", replystr.c_str());
|
||||
|
||||
return ptt_;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue