Merge branch 'fix/deploy' into 'develop'
fix double devices in board interface See merge request !8
This commit is contained in:
commit
7e54b18f66
@ -16,7 +16,8 @@ def parse_board_file(boardfile):
|
||||
if match("^.*struct driver.*$", line):
|
||||
line = sub("^.*struct driver", "", line).strip()
|
||||
line = sub(" .*$","",line).strip()
|
||||
ret.append(line)
|
||||
if not line in ret:
|
||||
ret.append(line)
|
||||
return ret
|
||||
|
||||
def create_board_interface(device_list, outfile):
|
||||
|
Loading…
Reference in New Issue
Block a user