main.c added heartbeat

This commit is contained in:
Charlez Kwan 2020-01-21 15:22:32 +01:00
parent d744215c24
commit f617a279ca

View file

@ -258,13 +258,6 @@ void Paint_DrawLoad(bool draw_yes){
Paint_DrawRectangle(50, 180, 70, 200, BLACK, draw_yes, DOT_PIXEL_1X1); Paint_DrawRectangle(50, 180, 70, 200, BLACK, draw_yes, DOT_PIXEL_1X1);
} }
bool System_SecondHeartbeat(){
if(sTime.Seconds%2 == 0){
return true;
}else{
return false;
}
}
/** /**
* @brief System Clock Configuration * @brief System Clock Configuration
* @retval None * @retval None