Commit 1475dd76 authored by Hellesvik's avatar Hellesvik

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
......@@ -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}
};
......@@ -947,4 +948,4 @@ int main(void) {
/**
* @}
*/
\ No newline at end of file
*/
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment