Commit 1475dd76 authored by Hellesvik's avatar Hellesvik
Browse files

Added interrupt for encoder number 4. Remember to edit pin define when new PCB is designed.

Had to increase a define to make this happen.
parent e4678a49
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -736,6 +736,7 @@ static void buttons_init(void) {
          {ENCODER1_A, false, NRF_GPIO_PIN_NOPULL, button_event_handler},
          {ENCODER2_A, false, NRF_GPIO_PIN_NOPULL, button_event_handler},
          {ENCODER3_A, false, NRF_GPIO_PIN_NOPULL, button_event_handler},
          {ENCODER4_A, false, NRF_GPIO_PIN_NOPULL, button_event_handler},
          {BUTTON1, false, BUTTON_PULL, button_event_handler}

      };
+2 −2
Original line number Diff line number Diff line
@@ -1400,7 +1400,7 @@
#endif
// <o> GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins 
#ifndef GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
#define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4
#define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 5
#endif

// <o> GPIOTE_CONFIG_IRQ_PRIORITY  - Interrupt priority
@@ -7434,7 +7434,7 @@
 

#ifndef NRF_CLI_LOG_BACKEND
#define NRF_CLI_LOG_BACKEND 1
#define NRF_CLI_LOG_BACKEND 0
#endif

// <q> NRF_CLI_USES_TASK_MANAGER_ENABLED  - Enable CLI to use task_manager