From 18d8354ffa4cc3c35148962081e92cbe2d0abf98 Mon Sep 17 00:00:00 2001 From: Vikram Rajput Date: Thu, 19 Sep 2024 22:28:53 +0530 Subject: [PATCH] Else condition modification --- lab5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab5.c b/lab5.c index ca16b58..97c72aa 100644 --- a/lab5.c +++ b/lab5.c @@ -33,7 +33,7 @@ void GPIOIntHandler(void) if((GPIO_PORTF_DATA_R & 0x11)== 0x11){} else { - GPIO_PORTF_DATA_R ^= 0x02; + GPIO_PORTF_DATA_R ^= 0x02; } GPIO_PORTF_ICR_R = 0x11; }