Removed old reference to serial.Serial
This commit is contained in:
parent
a907c9ad63
commit
4f19cd1324
1 changed files with 1 additions and 3 deletions
|
@ -19,9 +19,7 @@ class SerialBackend(Backend):
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
super().run()
|
super().run()
|
||||||
|
logging.info('Initialized serial backend')
|
||||||
self.serial = serial.Serial(self.device, self.baud_rate)
|
|
||||||
logging.info('Initialized serial backend on device {}'.format(self.device))
|
|
||||||
|
|
||||||
while not self.should_stop():
|
while not self.should_stop():
|
||||||
new_data = self.get_data()
|
new_data = self.get_data()
|
||||||
|
|
Loading…
Reference in a new issue