From c338694a9d4c2312ca535346a3d8a59e20a7496f Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 26 Apr 2018 15:54:21 +0200 Subject: [PATCH] RNode interface --- RNS/Interfaces/RNodeInterface.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RNS/Interfaces/RNodeInterface.py b/RNS/Interfaces/RNodeInterface.py index 240e23c..5481be5 100644 --- a/RNS/Interfaces/RNodeInterface.py +++ b/RNS/Interfaces/RNodeInterface.py @@ -259,7 +259,6 @@ class RNodeInterface(Interface): def process_queue(self): if len(self.packet_queue) > 0: - sleep(0.5) data = self.packet_queue.pop(0) self.interface_ready = True self.processOutgoing(data) @@ -394,7 +393,7 @@ class RNodeInterface(Interface): else: time_since_last = int(time.time()*1000) - last_read_ms if len(data_buffer) > 0 and time_since_last > self.timeout: - RNS.log(str(self)+" serial read timeout", RNS.LOG_EXTREME) + RNS.log(str(self)+" serial read timeout", RNS.LOG_DEBUG) data_buffer = "" in_frame = False command = KISS.CMD_UNKNOWN