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; }