We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aadc19d commit 3ba41c0Copy full SHA for 3ba41c0
migen/build/platforms/quickfeather.py
@@ -54,9 +54,9 @@ def __init__(self, programmer="jlink"):
54
self.programmer = programmer
55
56
def create_programmer(self):
57
- if self.programmer is "jlink":
+ if self.programmer == "jlink":
58
return JLinkProgrammer()
59
- elif self.programmer is "openocd":
+ elif self.programmer == "openocd":
60
return OpenOCD()
61
else:
62
raise ValueError("{} programmer is not supported"
0 commit comments