build for release 0.1.5
This commit is contained in:
@@ -7,8 +7,8 @@ android {
|
||||
applicationId "net.irext.ircontrol"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 25
|
||||
versionCode 3
|
||||
versionName '0.1.4'
|
||||
versionCode 4
|
||||
versionName '0.1.5'
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -33,7 +33,11 @@ const UINT16 tag_index[TAG_COUNT_FOR_PROTOCOL] =
|
||||
INT8 binary_parse_offset()
|
||||
{
|
||||
int i = 0;
|
||||
UINT16 *phead = (UINT16 *) &p_ir_buffer->data[1];
|
||||
#if defined BOARD_ESP8266
|
||||
UINT8 *phead = (UINT8 *)&p_ir_buffer->data[1];
|
||||
#else
|
||||
UINT16 *phead = (UINT16 *)&p_ir_buffer->data[1];
|
||||
#endif // BOARD_ESP8266
|
||||
|
||||
tag_count = p_ir_buffer->data[0];
|
||||
if (TAG_COUNT_FOR_PROTOCOL != tag_count)
|
||||
@@ -59,6 +63,10 @@ INT8 binary_parse_offset()
|
||||
#if defined BOARD_STM8 && defined COMPILER_IAR
|
||||
UINT16 offset = *(phead + i);
|
||||
tags[i].offset = (offset >> 8) | (offset << 8);
|
||||
#elif defined BOARD_ESP8266
|
||||
UINT16 tmp_a = *(phead + i * 2);
|
||||
UINT16 tmp_b = *(phead + i * 2 + 1);
|
||||
tags[i].offset = tmp_b << 8 | tmp_a;
|
||||
#else
|
||||
tags[i].offset = *(phead + i);
|
||||
#endif
|
||||
|
||||
@@ -267,7 +267,7 @@ static UINT16 ir_ac_lib_control(t_remote_ac_status ac_status, UINT16 *user_data,
|
||||
UINT16 time_length = 0;
|
||||
|
||||
#if defined BOARD_PC
|
||||
UINT8 i = 0;
|
||||
UINT16 i = 0;
|
||||
#endif
|
||||
|
||||
if (0 == context->default_code.len)
|
||||
|
||||
Reference in New Issue
Block a user