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:
@@ -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
|
||||
|
Reference in New Issue
Block a user