removing loop

This commit is contained in:
2022-11-28 16:06:49 -05:00
parent 1d955fc15e
commit 9da08f76f1

View File

@@ -96,6 +96,6 @@ for proc in psutil.process_iter():
client = connect_mqtt()
client.loop_start()
print (sensor)
while True:
temp, humidity = getValues(sensor)
publish(client, temp, humidity)
temp, humidity = getValues(sensor)
publish(client, temp, humidity)