Skip to content

Commit 23b86b3

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 fec6378 commit 23b86b3

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
@@ -22,7 +22,7 @@ def get_board_pins(pin_filename):
2222

2323
search = re.search(r"MP_ROM_QSTR\(MP_QSTR_(.*?)\),(\s*)MP_ROM_PTR", line)
2424
if search is None:
25-
search = re.search(r"MP_OBJ_NEW_QSTR\(MP_QSTR_(.*?)\),(\s*)MP_ROM_PTR", line)
25+
search = re.search(r"MP_OBJ_NEW_QSTR\(MP_QSTR_(.*?)\),\s*MP_ROM_PTR", line)
2626
if search is None:
2727
continue
2828

0 commit comments

Comments
 (0)