reload Trick Pins before deleting unlock pins

This commit is contained in:
scgbckbone 2025-09-25 14:49:26 +02:00
parent 437961ca93
commit d2f4871b0e

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])