This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

No button release event after wakeup

Hi.

Using an nRF52832 and SDK11. I use a button for wakeup. Problem is, when releasing the button, I do not receive a release event after wakeup (so the first release). Checking the bsp_button_event_handler() function in bsp.c, it looks like there is a static array of release events. These are checked at release, but only set at push. So of course, this is not set on a wakeup button as there is no push event in that case.

Is there a reason that the release events are set this way at button push? Shouldn't this be set and fixed when configuring the buttons (with e.g. bsp_event_to_button_action_assign)? Why is change in release event checked?

Parents Reply Children
No Data
Related