fixed build issue for CMake 3.6.2
This commit is contained in:
@@ -28,13 +28,6 @@ Revision log:
|
||||
#define AC_PARAMETER_TYPE_1 0
|
||||
#define AC_PARAMETER_TYPE_2 1
|
||||
|
||||
const UINT16 tag_index[TAG_COUNT_FOR_PROTOCOL] =
|
||||
{
|
||||
1, 2, 3, 4, 5, 6, 7,
|
||||
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
||||
41, 42, 43, 44, 45, 46, 47, 48
|
||||
};
|
||||
|
||||
typedef enum
|
||||
{
|
||||
AC_POWER_ON = 0,
|
||||
|
||||
@@ -64,6 +64,13 @@ lp_apply_ac_parameter apply_table[AC_APPLY_MAX] =
|
||||
apply_swing
|
||||
};
|
||||
|
||||
const UINT16 tag_index[TAG_COUNT_FOR_PROTOCOL] =
|
||||
{
|
||||
1, 2, 3, 4, 5, 6, 7,
|
||||
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
||||
41, 42, 43, 44, 45, 46, 47, 48
|
||||
};
|
||||
|
||||
#if defined BOARD_PC
|
||||
void free_pirda(void);
|
||||
#endif
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user