changed tag definistion for encode algorithms

This commit is contained in:
strawmanbobi
2016-11-24 23:08:40 +08:00
parent 54dd88c6a5
commit fead08799a
3 changed files with 11 additions and 11 deletions

View File

@@ -28,6 +28,13 @@ 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,

View File

@@ -42,14 +42,6 @@ UINT16 user_data[USER_DATA_SIZE] = {0};
UINT8 tv_bin[EXPECTED_MEM_SIZE] = {0};
remote_ac_status_t ac_status;
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
};
// 2016-10-09 updated by strawmanbobi, change global data context to array pointer
protocol *context = (protocol *) byteArray;