reload Trick Pins before deleting unlock pins

This commit is contained in:
scgbckbone 2025-09-25 14:49:26 +02:00 committed by doc-hex
parent 06fa4f338c
commit f3aaf3d5cb

View File

@ -311,6 +311,7 @@ class TrickPinMgmt:
def delete_sp_unlock_pins(self):
# remove all bypass pins, they are done w/ feature
self.reload()
for k, (sn,flags,arg) in self.tp.items():
if (flags & TC_FW_DEFINED) and (arg == TCA_SP_UNLOCK):
self.clear_slots([sn])