forked from platypush/platypush
Forgot an assignment
This commit is contained in:
parent
c0ef9e2373
commit
b8cba8ec0c
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ class SensorMcp3008Backend(Backend):
|
|||
if new_measurement:
|
||||
self.bus.post(SensorDataChangeEvent(sensors=new_measurement))
|
||||
|
||||
self.last_measurement = measurement
|
||||
time.sleep(self.poll_seconds)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue