1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00
This commit is contained in:
Joel Bender 2021-10-13 18:06:08 -04:00
parent 6027b96685
commit 0631b548c9
3 changed files with 3 additions and 3 deletions

View File

@ -458,7 +458,7 @@ class PulseConverterCriteria(COVIncrementCriteria):
# check for a new period
if new_value != 0:
self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.cov_period_x)
self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.send_cov_notifications)
self.cov_period_task.install_task()
if _debug: PulseConverterCriteria._debug(" - new task created and installed")

View File

@ -456,7 +456,7 @@ class PulseConverterCriteria(COVIncrementCriteria):
# check for a new period
if new_value != 0:
self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.cov_period_x)
self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.send_cov_notifications)
self.cov_period_task.install_task()
if _debug: PulseConverterCriteria._debug(" - new task created and installed")

View File

@ -457,7 +457,7 @@ class PulseConverterCriteria(COVIncrementCriteria):
# check for a new period
if new_value != 0:
self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.cov_period_x)
self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.send_cov_notifications)
self.cov_period_task.install_task()
if _debug: PulseConverterCriteria._debug(" - new task created and installed")