Skip to content

Commit

Permalink
Allow CW310/340 to use all CW305 properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcrypt committed Aug 17, 2023
1 parent ad62163 commit b5a67fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/chipwhisperer/capture/targets/CW305.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

def check_cw305(fn):
def inner(self=None, *args, **kwargs):
if self.platform != 'cw305':
if self.platform not in ['cw305', 'cw310', 'cw340']:
target_logger.warning("%s is a CW305 method for hardware which does not exist on this target." % fn.__name__)
else:
return fn(self, *args, **kwargs)
Expand Down

0 comments on commit b5a67fc

Please sign in to comment.