diff --git a/common/gn4124.py b/common/gn4124.py index 0da90ae4b389db82cc643c1caf453504247e5035..1da15bda47a128caa02abc8a20e5572ec8484ca6 100644 --- a/common/gn4124.py +++ b/common/gn4124.py @@ -124,8 +124,10 @@ class CGN4124: # Wait for interrupt def wait_irq(self, verbose=False): if verbose: - print("[GN4124] Waiting IRQ...") + print("[GN4124] Waiting interrupt...") ret = self.bus.irqwait() + if verbose: + print("[GN4124] Interrupt occured") # re-enable the interrupt self.bus.irqena() return ret