Skip to content

Commit 24c10bd

Browse files
committed
fixes trailing slash issue with custom board path.
1 parent b8fdb89 commit 24c10bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def create_lvgl_header():
264264
get_submodules()
265265

266266
if custom_board_path is not None:
267-
if custom_board_path.endswith('/'):
267+
if custom_board_path.endswith('/') or custom_board_path.endswith('\\'):
268268
custom_board_path = custom_board_path[:-1]
269269

270270
board_name = os.path.split(custom_board_path)[-1]

0 commit comments

Comments
 (0)