fixed build issue for CMake 3.6.2

This commit is contained in:
strawmanbobi
2016-11-27 10:58:06 +08:00
parent fead08799a
commit 29d00e695e
4 changed files with 9 additions and 8 deletions

View File

@@ -118,7 +118,7 @@ def printProtocol(file):
else:
mode = 1
print "{%d, \"%s\", %d, %d, %s}" % (index, i.getAttribute('bits'), \
print "{%d, \"%s\", %d, %d, %s}" % (index, i.getAttribute('bits'),\
lsb, mode, i.firstChild.data)
flag = IRDAData(int(i.getAttribute('bits')), lsb, mode, int(i.firstChild.data))
irda_frame.append(flag)