changed tag definistion for encode algorithms
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user