Skip to content

Commit

Permalink
#7
Browse files Browse the repository at this point in the history
  • Loading branch information
Esraa1moshsen committed May 4, 2019
1 parent 7453601 commit 7e93a1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tivac2/push_buttons.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ void pushButtons_Init (void)
NVIC_PRI7_R = (NVIC_PRI7_R & 0xFF00FFFF) | (GPIO_PF4_0_PRI << 21); // PRI7 bits 23:21
NVIC_EN0_R |= (1 << 30); // EN0 bit 30
}

}

void pushButtons_ISR(void)
{
if ((GPIO_PORTF_DATA_R & PF0) == PF0)
Expand Down

0 comments on commit 7e93a1c

Please sign in to comment.