rpi_temperature: Fix missing get_report_time_delta() callback
Reported by @ronald5555. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
cf8d5a6606
commit
c3e3b2280a
|
@ -41,6 +41,9 @@ class RPiTemperature:
|
|||
def setup_callback(self, cb):
|
||||
self._callback = cb
|
||||
|
||||
def get_report_time_delta(self):
|
||||
return RPI_REPORT_TIME
|
||||
|
||||
def _sample_pi_temperature(self, eventtime):
|
||||
try:
|
||||
self.file_handle.seek(0)
|
||||
|
|
Loading…
Reference in New Issue