Removed reference to self.device in backend.serial
This commit is contained in:
parent
cfe78dfa23
commit
cddd740666
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class SerialBackend(Backend):
|
||||||
while not self.should_stop():
|
while not self.should_stop():
|
||||||
new_data = self.get_data()
|
new_data = self.get_data()
|
||||||
if self.data is None or self.data != new_data:
|
if self.data is None or self.data != new_data:
|
||||||
self.bus.post(SerialDataEvent(data=new_data, device=self.device))
|
self.bus.post(SerialDataEvent(data=new_data))
|
||||||
|
|
||||||
self.data = new_data
|
self.data = new_data
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue