I am developing on a nrf52 board and trying to use sd_power_reset_reason_get(&uint32). This function should only be able to return succes, but I always get back 1. I saw a question on this forum about this behaviour, but that was dated 4 years ago. When it doesn't return 1 I don't trust the reset reason to be correct.
Does anyone know how to handle this correctly?