Merge branch 'fix/deploy' into 'develop'

fix double devices in board interface



See merge request !8
This commit is contained in:
tkl 2016-08-10 10:24:18 +00:00
commit 7e54b18f66

View File

@ -16,6 +16,7 @@ def parse_board_file(boardfile):
if match("^.*struct driver.*$", line): if match("^.*struct driver.*$", line):
line = sub("^.*struct driver", "", line).strip() line = sub("^.*struct driver", "", line).strip()
line = sub(" .*$","",line).strip() line = sub(" .*$","",line).strip()
if not line in ret:
ret.append(line) ret.append(line)
return ret return ret