mirror of
https://opendev.org/x/pyghmi
synced 2026-01-10 10:12:30 +00:00
Merge "Add function to send sol data"
This commit is contained in:
@@ -152,6 +152,11 @@ class Console(object):
|
||||
if not self.awaitingack:
|
||||
self._sendpendingoutput()
|
||||
|
||||
def send_data(self, data):
|
||||
self.pendingoutput += data
|
||||
if not self.awaitingack:
|
||||
self._sendpendingoutput()
|
||||
|
||||
def _sendpendingoutput(self):
|
||||
self.myseq += 1
|
||||
self.myseq &= 0xf
|
||||
|
||||
Reference in New Issue
Block a user