updated decode sample on CC26XX for AC

This commit is contained in:
2017-03-14 12:55:56 +08:00
parent ec6016a494
commit 7fd04960b6
8 changed files with 50 additions and 15 deletions

View File

@@ -483,7 +483,7 @@ extern UINT16 ir_ac_lib_control(remote_ac_status_t ac_status, UINT16 *user_data,
*
* return: IR_DECODE_SUCCEEDED / IR_DECODE_FAILED
*/
extern void ir_ac_lib_close();
extern INT8 ir_ac_lib_close();
///////////////////////////////////////////////// AC End /////////////////////////////////////////////////
///////////////////////////////////////////////// TV Begin /////////////////////////////////////////////////

View File

@@ -225,7 +225,7 @@ UINT16 ir_ac_lib_control(remote_ac_status_t ac_status, UINT16 *user_data, UINT8
return time_length;
}
void ir_ac_lib_close()
INT8 ir_ac_lib_close()
{
// free context
if (NULL != tags)
@@ -235,7 +235,7 @@ void ir_ac_lib_close()
}
free_ac_context();
return;
return IR_DECODE_SUCCEEDED;
}
// utils