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 23b86b3 commit 28e6afcCopy full SHA for 28e6afc
tools/board_stubs/build_board_specific_stubs/board_stub_builder.py
@@ -20,7 +20,7 @@ def get_board_pins(pin_filename):
20
# (\s*) means any amount of whitespaces (no whitespaces allowed too)
21
# related issue: https://github.com/adafruit/circuitpython/issues/9407
22
23
- search = re.search(r"MP_ROM_QSTR\(MP_QSTR_(.*?)\),(\s*)MP_ROM_PTR", line)
+ search = re.search(r"MP_ROM_QSTR\(MP_QSTR_(.*?)\),\s*MP_ROM_PTR", line)
24
if search is None:
25
search = re.search(r"MP_OBJ_NEW_QSTR\(MP_QSTR_(.*?)\),\s*MP_ROM_PTR", line)
26
0 commit comments