From ab4ff10b816a654fdbaf15788ecb32298f11fd35 Mon Sep 17 00:00:00 2001 From: dataisland Date: Tue, 1 Mar 2022 21:23:30 +0800 Subject: [PATCH] Delete debug callback MCU examples --- examples/mcu/stm32f407_gpio_hook.py | 5 ----- 1 file changed, 5 deletions(-) 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)