Skip to content

Commit 28e6afc

Browse files
elpekenindhalbert
andauthored
Update tools/board_stubs/build_board_specific_stubs/board_stub_builder.py
Co-authored-by: Dan Halbert <[email protected]>
1 parent 23b86b3 commit 28e6afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/board_stubs/build_board_specific_stubs/board_stub_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def get_board_pins(pin_filename):
2020
# (\s*) means any amount of whitespaces (no whitespaces allowed too)
2121
# related issue: https://github.com/adafruit/circuitpython/issues/9407
2222

23-
search = re.search(r"MP_ROM_QSTR\(MP_QSTR_(.*?)\),(\s*)MP_ROM_PTR", line)
23+
search = re.search(r"MP_ROM_QSTR\(MP_QSTR_(.*?)\),\s*MP_ROM_PTR", line)
2424
if search is None:
2525
search = re.search(r"MP_OBJ_NEW_QSTR\(MP_QSTR_(.*?)\),\s*MP_ROM_PTR", line)
2626
if search is None:

0 commit comments

Comments
 (0)