Lower cpu usage

This commit is contained in:
suchmememanyskill
2024-11-27 22:53:35 +01:00
parent 8521664a69
commit 0c364ec597

View File

@@ -105,7 +105,6 @@ def write(text : str, write : bool):
def main():
while True:
# Read a line from the serial port
if ser.in_waiting > 0:
line = ser.readline().decode('utf-8').strip()
if line.startswith("HTTP_REQUEST") or line.startswith("HTTP_BINARY"):
print(f">>> {line}")