Modifications SysTick

This commit is contained in:
EyeXion 2020-11-14 12:43:43 +01:00
parent f145426522
commit 81560b9a62

View file

@ -12,10 +12,15 @@ void ConfSysTick(){
void SysTick_Handler(void) { /* SysTick interrupt Handler. */
msTicks++;
if (msTicks == 29){
if (msTicks % 30 == 0){
drapeauTransmission = 1;
}
if (msTicks % 90 == 0) {
drapeauRecupSecurite = 1;
msTicks = 0;
}
}
void ConfTransmission(){