Skip to content

Commit d2ee3d1

Browse files
pcworldAndrewFasano
authored andcommitted
PyPanda Panda.hook: Remove duplicate call to hook_cb_type
1 parent ca35fe5 commit d2ee3d1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

panda/python/core/pandare/panda.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2719,9 +2719,6 @@ def decorator(fun):
27192719
return
27202720
type_num = getattr(self.libpanda, "PANDA_CB_"+cb_type.upper())
27212721

2722-
# Inform the plugin that it has a new breakpoint at addr
2723-
hook_cb_passed = hook_cb_type(fun)
2724-
27252722
if debug:
27262723
print("Registering breakpoint at 0x{:x} -> {} == {}".format(addr, fun, 'cdata_cb'))
27272724

0 commit comments

Comments
 (0)