Change fake pfeiffer to CRLF terminator

This commit is contained in:
Douglas Clowes
2014-04-22 10:22:54 +10:00
parent fd23ee2443
commit 29bee0a057

View File

@ -119,7 +119,7 @@ if __name__ == "__main__":
# add screen object as a reader to the reactor
reactor.addReader(screen)
myFactory = PfeifferFactory(PfeifferProtocol, myDev, "\r")
myFactory = PfeifferFactory(PfeifferProtocol, myDev, "\r\n")
lc = LoopingCall(device_display)
lc.start(0.250)
reactor.listenTCP(myPort, myFactory) # server