I am using Keil v5 and the nRF5 SDK 17.1.0.
I use this example.(nRF5_SDK_17.1.0_ddde560\examples\ble_peripheral\ble_app_uart\pca10040)
I hope the chip enter system off mode after the advertising timeout.
When I use the original example, it can successfully enter system off mode.
However, when I try to change the button pin in the pca10040.h
file, the chip restarts automatically.
How to solve this problem?