chargeController/APP/businessLogic/Src/test.c

25 lines
332 B
C
Raw Normal View History

#include "test.h"
#include "checkTime.h"
#include "uart_dev.h"
#include "HD_TIM.h"
#include "pDebug.h"
void test(void)
{
Init_debug_uart();
HD_time_Init();
HAL_TIM_Base_Start_IT(&htim15);
while (1) {
checkTimeInit();
HAL_Delay(1000);
debug("time:%f\r\n", getCheckTime());
}
}