The comment above app_button_init
says, in part:
* @note Normally initialization should be done using the APP_BUTTON_INIT() macro
This macro is also mentioned in the documentation. However, I cannot find it anywhere in the code provided. Has it been removed from the SDK?
I'm curious because I'm having trouble getting app_button to work (specifically, channel_port_alloc
is failing to allocate a channel) and I'm curious if there's something else I need to initialize.
Thanks!