shoot/User/task/rc_task.c
2025-03-12 23:04:18 +08:00

26 lines
406 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 遥控器发送与解码任务
*/
#include "TopDefine.h"
#include "attrTask.h"
#include "rc_task.h"
#include "remote_control.h"
extern RC_mess_t RC_mess;
/**
* \brief 遥控器任务
*
* \param argument 未使用
*/
void Task_Rc(void *argument)
{
(void)argument; /* 未使用argument消除警告 */
RC_init();
while(1)
{
RC_WaitNew();
RC_rx_analysis();
}
}