I tried changing the define below from 1 to 2, so I could have one handler for a button and a different handler for other sensors. But my problem is:
- If I set it to 1, the button handler (which is initialized first) is the only that works.
- If I set it to 2, the sensors handler is the only one that works (it's initialized second, as if it took over the spot from the other).
#define APP_GPIOTE_MAX_USERS 2 /**< Maximum number of users of the GPIOTE handler. */