Skip to content

Commit

Permalink
Fix get_report_time_delta
Browse files Browse the repository at this point in the history
  • Loading branch information
thetic committed Feb 21, 2025
1 parent 309ab82 commit a8105fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/klipper_sgp40/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def setup_callback(self, cb):
self._callback = cb

def get_report_time_delta(self):
return self._gia.SAMPLE_PEROID_SEC
return self._gia.sampling_interval

def _init_sgp40(self):
self._read_and_check(HEATER_OFF_CMD, read_len=0)
Expand Down

0 comments on commit a8105fe

Please sign in to comment.