Hi,
Testing button driver on CC1352P launchpad using buttonled_CC1352P1_LAUNCHXL_tirtos_ccs example project.
SimplelInk SDK v5.10.0.48
On long press ( over 2000 ms, callback is invoked twice:
- First time with Button_EV_PRESSED event
- Second time with Button_EV_LONGPRESSED event.
It makes no sense as this way it is not possible to distinguish between short or long-press.