def _updateAlarm(self, triggerTime=None) -> None: """ Update the alarm hardware to reflect the next alarm. :param triggerTime: the time at which the next alarm will be triggered """ if triggerTime is None: triggerTime = int(self._expirationTime * 1e6) handle = self._notifier if handle: hal.updateNotifierAlarm(handle, triggerTime)
def _update_alarm(self) -> None: hal.updateNotifierAlarm(self._notifier, self._expiry_time)
def _updateAlarm(self) -> None: """Update the alarm hardware to reflect the next alarm.""" hal.updateNotifierAlarm(self._notifier, int(self._expirationTime * 1e6))
def _updateAlarm(self) -> None: hal.updateNotifierAlarm(self._notifier, int(self._expirationTime * 1e6))