I am getting an Error code on 8 on calling nrf_drv_gpiote_init()
in my main()
:
err_code = nrf_drv_gpiote_init();
APP_ERROR_CHECK(err_code);
Any idea what I am doing wrong?
Thanks
I am getting an Error code on 8 on calling nrf_drv_gpiote_init()
in my main()
:
err_code = nrf_drv_gpiote_init();
APP_ERROR_CHECK(err_code);
Any idea what I am doing wrong?
Thanks
I just needed to move the code up before BLE initialization and it worked.
There is something that is not correct here, Seems like before you tried to initialized an already initialized driver. It might be working for you now after moving this before BLE initialization, but some bug in your code might be hiding because of this.
There is something that is not correct here, Seems like before you tried to initialized an already initialized driver. It might be working for you now after moving this before BLE initialization, but some bug in your code might be hiding because of this.