fix double devices in board interface
This commit is contained in:
parent
3063445932
commit
b0fd6c7542
@ -16,6 +16,7 @@ def parse_board_file(boardfile):
|
||||
if match("^.*struct driver.*$", line):
|
||||
line = sub("^.*struct driver", "", line).strip()
|
||||
line = sub(" .*$","",line).strip()
|
||||
if not line in ret:
|
||||
ret.append(line)
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user