Remove superfluous trailing white space from Python files

This commit is contained in:
Douglas Clowes
2014-05-16 13:01:13 +10:00
parent 4c65f82116
commit 89e4e37f9e
16 changed files with 60 additions and 60 deletions

View File

@@ -9,7 +9,7 @@
# PID : Protocol Identifier, 0 for MODBUS, (2 Bytes)
# len : Number of bytes following the len field, (2 Bytes)
# UID : Unit Identifier (1 Byte)
#
#
# MODBUS TCP/IP ADU
# ADU = [MBAP][PDU]
# MBAP = [TID][PID][len][UID]
@@ -28,7 +28,7 @@ sys.stdout = os.fdopen(sys.stdout.fileno(), 'w',0)
# Debug flags
INFO = 1
COMS = 2
COMS = 2
RREG = 4
WREG = 8
RCOIL = 16
@@ -191,7 +191,7 @@ class Fermi_Prot(LineReceiver):
self.RegVal[uid][a] = n
i += 1
return
def rawDataReceived(self, ADU):
self.debug(COMS, "Received ADU ", ADU.encode('hex'))
self.ADU = ADU
@@ -238,7 +238,7 @@ class Fermi_Prot(LineReceiver):
self.debug(WCOIL, 'wcoil:OA=%d, OV=%X' % (OA,OV))
# TODO This really just toggles IDLE speed so it's only correct for OA=2 (ie coil 3)
self.FermiCoil[uid][OA] ^= OV
if (OA == CSTART):
if (OA == CSTART):
self.debug(INFO, "START")
self.RegVal[uid][10] |= (_RUN|_LEV)
self.debug(INFO, 'RUNNING, LEVITATING')