In nrf_drv_adc.c
, there are loads of these ASSERT()
macro calls:
ASSERT(mp_state == NRF_DRV_STATE_INITIALIZED);
But there is no variable mp_state. This will fail to compile when the DEBUG_NRF
C flag is used in the build. Looks like you meant to use:
ASSERT(m_cb.state == NRF_DRV_STATE_INITIALIZED);
Is this right? Could you please acknowledge and fix in SDK 12?