2
0
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:
Jenkins
2013-08-22 21:20:30 +00:00
committed by Gerrit Code Review

View File

@@ -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