Skip to content

Commit fd67fd1

Browse files
committed
remove debug prints that should not be committed
1 parent f41fa7f commit fd67fd1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/SmartWaveAPI/smartwave.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ def _readback(self):
140140
try:
141141
if self.isConnected() and self._serialPort.in_waiting > 0:
142142
statusbit = int.from_bytes(self._serialPort.read(1), byteorder='big')
143-
print("status bit received")
144-
print(statusbit)
145143
if statusbit == Statusbit.Idle.value:
146144
self._deviceRunning = False
147145
if self.idleCallback is not None:
@@ -215,10 +213,7 @@ def _readback(self):
215213
self._allPins[pinId].inputLevel = 1 if (allPins & (1 << pinId)) else 0
216214

217215
elif statusbit == Statusbit.FirmwareUpdateStatus.value:
218-
print("firmware update status bit received")
219216
byte = int.from_bytes(self._serialPort.read(1), 'big')
220-
print("byte 2:")
221-
print(byte)
222217
isMicrocontroller: bool = (byte & 8) == 1
223218
status: int = byte & 0x7f
224219

0 commit comments

Comments
 (0)