Correct runze pump multiple receive method.

This commit is contained in:
Xuwznln
2025-09-14 03:17:50 +08:00
parent b600fc666d
commit 1cd07915e7

View File

@@ -160,7 +160,7 @@ class RunzeMultiplePump:
full_command_data = bytearray(full_command, "ascii") full_command_data = bytearray(full_command, "ascii")
self.hardware_interface.write(full_command_data) self.hardware_interface.write(full_command_data)
time.sleep(0.05) time.sleep(0.05)
response = self.hardware_interface.read_until(b"\n") response = self.hardware_interface.read_until(b"\n") # \n should direct use, not \\n
output = self._receive(response) output = self._receive(response)
return output return output