Hi,
I recently added the DEBUG_NRF preprocessor definition to my project because I wanted to use the nrf_assert module in some of my files. Now my project is crashing a lot in different places due to not necessarily incorrect behavior.
An example of this is calling an uninit() function of some driver. Those functions do not return errors if you call uninit() when the module is already uninitialized, but they will assert if called with DEBUG_NRF defined.
My question is, should I go out of my way and fix all those errors? Or is it ok to just undefine DEBUG_NRF and forget about them?