Modifications SysTick
This commit is contained in:
parent
f145426522
commit
81560b9a62
1 changed files with 6 additions and 1 deletions
|
@ -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(){
|
||||
|
|
Loading…
Reference in a new issue