diff --git a/examples/mcu/stm32f407_gpio_hook.py b/examples/mcu/stm32f407_gpio_hook.py index 32a8e366..5d0c9dbe 100644 --- a/examples/mcu/stm32f407_gpio_hook.py +++ b/examples/mcu/stm32f407_gpio_hook.py @@ -34,9 +34,4 @@ def indicator(ql): ql.hw.gpioa.hook_set(7, indicator, ql) ql.hw.systick.ratio = 1000 -def callback(ql, address, size): - print(hex(ql.reg.pc), hex(address)) - -ql.hook_mem_write_invalid(callback) - ql.run(count=800000)