2
0
mirror of https://opendev.org/x/pyghmi synced 2025-08-24 20:10:20 +00:00

Add function to send sol data

In the case of using function callin/callout, the console module was missing
a callin.  Correct that omission.

Change-Id: I233b43eadf115ad617958148878b96f38bff1971
This commit is contained in:
Jarrod Johnson
2013-08-22 16:50:07 -04:00
parent e6d0e2ae0d
commit c2ee99eb0d

View File

@@ -151,6 +151,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