chore: release v0.26.2
This commit is contained in:
@@ -190,6 +190,14 @@ func (s *Server) Start() error {
|
||||
// pttKnown is cleared whatever happens: after an emergency unkey the radio's
|
||||
// state is a guess, and the next command must reach it rather than be dismissed
|
||||
// as a repeat.
|
||||
// Keyed reports whether a client currently has the rig transmitting. See the
|
||||
// rigctld server's own Keyed for why the caller wants to know.
|
||||
func (s *Server) Keyed() bool {
|
||||
s.mu.Lock()
|
||||
defer s.mu.Unlock()
|
||||
return s.ptt
|
||||
}
|
||||
|
||||
func (s *Server) releasePTT(why string) {
|
||||
s.mu.Lock()
|
||||
keyed := s.ptt
|
||||
|
||||
Reference in New Issue
Block a user