39 lines
858 B
C
39 lines
858 B
C
/**
|
|
****************************************************************************************************
|
|
* @file bsp_delay.c
|
|
* @author
|
|
* @version V1.0
|
|
* @date 2024-03-10
|
|
* @brief demo
|
|
****************************************************************************************************
|
|
*/
|
|
|
|
#include "app_demo.h"
|
|
#include "drv_usart.h"
|
|
#include "bsp_led.h"
|
|
#include "bsp_malloc.h"
|
|
|
|
/*uC/OS-III*********************************************************************************************/
|
|
#include "os.h"
|
|
#include "cpu.h"
|
|
|
|
/**
|
|
* @brief task1
|
|
* @param p_arg : 传入参数(未用到)
|
|
* @retval 无
|
|
*/
|
|
void task1(uint32_t baseTime)
|
|
{
|
|
LED0_TOGGLE();
|
|
}
|
|
|
|
/**
|
|
* @brief task2
|
|
* @param p_arg : 传入参数(未用到)
|
|
* @retval 无
|
|
*/
|
|
void task2(uint32_t baseTime)
|
|
{
|
|
LED1_TOGGLE();
|
|
}
|