pylink icon indicating copy to clipboard operation
pylink copied to clipboard

Incorrect decorators in raw pin operation functions in the JLink class

Open sgmne opened this issue 4 years ago • 2 comments

The functions in JLink class

set_reset_pin_high(self): set_reset_pin_low(self): set_tck_pin_high(self): set_tck_pin_low(self): set_tdi_pin_high(self): set_tdi_pin_low(self): set_tms_pin_high(self): set_tms_pin_low(self): set_trst_pin_high(self): set_trst_pin_low(self):

are raw operations and hence should be @open_required, not @connection_required.

sgmne avatar Feb 28 '21 13:02 sgmne

Thanks for bringing this up, this is definitely an oversight. If you wish to submit a patch to address this, I can review and merge it in, otherwise I will open up one when I find time available.

hkpeprah avatar Mar 01 '21 16:03 hkpeprah