Skip to content

Commit

Permalink
Merge pull request #20560 from dylad/pr/cpu/nrf9160/fix_gpio_isr
Browse files Browse the repository at this point in the history
cpu/nrf9160: fix GPIOTE ISR
  • Loading branch information
Teufelchen1 authored Apr 9, 2024
2 parents 9f3786e + f7d0523 commit 6595936
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions boards/nrf9160dk/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ extern "C" {
* @{
*/
#define BTN0_PIN GPIO_PIN(0, 6) /**< BTN0 pin definition */
#define BTN0_MODE GPIO_IN /**< BTN0 default mode */
#define BTN0_MODE GPIO_IN_PU /**< BTN0 default mode */
#define BTN1_PIN GPIO_PIN(0, 7) /**< BTN1 pin definition */
#define BTN1_MODE GPIO_IN /**< BTN1 default mode */
#define BTN1_MODE GPIO_IN_PU /**< BTN1 default mode */
#define BTN2_PIN GPIO_PIN(0, 8) /**< BTN2 pin definition */
#define BTN2_MODE GPIO_IN /**< BTN2 default mode */
#define BTN2_MODE GPIO_IN_PU /**< BTN2 default mode */
#define BTN3_PIN GPIO_PIN(0, 9) /**< BTN3 pin definition */
#define BTN3_MODE GPIO_IN /**< BTN3 default mode */
#define BTN3_MODE GPIO_IN_PU /**< BTN3 default mode */
/** @} */

/**
Expand Down
4 changes: 2 additions & 2 deletions cpu/nrf9160/vectors/vectors_nrf9160.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ WEAK_DEFAULT void isr_uarte0_spim0_spis0_twim0_twis0(void);
WEAK_DEFAULT void isr_uarte1_spim1_spis1_twim1_twis1(void);
WEAK_DEFAULT void isr_uarte2_spim2_spis2_twim2_twis2(void);
WEAK_DEFAULT void isr_uarte3_spim3_spis3_twim3_twis3(void);
WEAK_DEFAULT void isr_gpiote(void);
WEAK_DEFAULT void isr_gpiote0(void);
WEAK_DEFAULT void isr_saadc(void);
WEAK_DEFAULT void isr_timer0(void);
WEAK_DEFAULT void isr_timer1(void);
Expand Down Expand Up @@ -70,7 +70,7 @@ ISR_VECTOR(1) const isr_t vector_cpu[CPU_IRQ_NUMOF] = {
[9] = isr_uarte1_spim1_spis1_twim1_twis1,
[10] = isr_uarte2_spim2_spis2_twim2_twis2,
[11] = isr_uarte3_spim3_spis3_twim3_twis3,
[13] = isr_gpiote, /* gpiote0 */
[13] = isr_gpiote0, /* gpiote0 */
[14] = isr_saadc,
[15] = isr_timer0,
[16] = isr_timer1,
Expand Down

0 comments on commit 6595936

Please sign in to comment.