mirror of
https://github.com/nonoo/kappanhang.git
synced 2025-12-06 08:02:00 +01:00
Fix bug which caused the status bar fields to be unpopulated on connect
This commit is contained in:
parent
6d92d27db7
commit
2199c8fcbf
|
|
@ -259,6 +259,8 @@ func (s *controlStream) handleRead(r []byte) error {
|
||||||
copy(s.authID[:], r[26:32])
|
copy(s.authID[:], r[26:32])
|
||||||
s.gotAuthID = true
|
s.gotAuthID = true
|
||||||
|
|
||||||
|
statusLog.startPeriodicPrint()
|
||||||
|
|
||||||
if err := s.serial.init(devName); err != nil {
|
if err := s.serial.init(devName); err != nil {
|
||||||
return errors.New("serial/" + err.Error())
|
return errors.New("serial/" + err.Error())
|
||||||
}
|
}
|
||||||
|
|
@ -268,7 +270,6 @@ func (s *controlStream) handleRead(r []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
s.serialAndAudioStreamOpened = true
|
s.serialAndAudioStreamOpened = true
|
||||||
statusLog.startPeriodicPrint()
|
|
||||||
|
|
||||||
runCmdRunner.startIfNeeded(runCmd)
|
runCmdRunner.startIfNeeded(runCmd)
|
||||||
if enableSerialDevice {
|
if enableSerialDevice {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue