diff --git a/event.py b/event.py index 86c56c3..7d933ab 100644 --- a/event.py +++ b/event.py @@ -26,6 +26,11 @@ def _callback(self, ins): self.message.calc_set_checksum() self.queue.append(self.message) + def enable(self): + self.enabled = True + + def disable(self): + self.enabled = False class PinEvent(HarpEvent): """Pin event.