Else condition modification

This commit is contained in:
Rajput R Vikramsingh Vikramsingh 2024-09-19 22:28:53 +05:30
parent cd5afe526b
commit 18d8354ffa
1 changed files with 1 additions and 1 deletions

2
lab5.c
View File

@ -33,7 +33,7 @@ void GPIOIntHandler(void)
if((GPIO_PORTF_DATA_R & 0x11)== 0x11){} if((GPIO_PORTF_DATA_R & 0x11)== 0x11){}
else else
{ {
GPIO_PORTF_DATA_R ^= 0x02; GPIO_PORTF_DATA_R ^= 0x02;
} }
GPIO_PORTF_ICR_R = 0x11; GPIO_PORTF_ICR_R = 0x11;
} }