nrfx_wdt: Remove incorrect assertion
Since nrfx 3.0.0 it is allowed to initialize the driver without providing an initial configuration. Remove an assertion that still ensures that such configuration was actually provided. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
2ff8ce6e6c
commit
04482574a7
|
@ -104,7 +104,6 @@ static nrfx_err_t wdt_init(nrfx_wdt_t const * p_instance,
|
|||
nrfx_wdt_event_handler_t wdt_event_handler,
|
||||
void * p_context)
|
||||
{
|
||||
NRFX_ASSERT(p_config);
|
||||
nrfx_err_t err_code;
|
||||
|
||||
wdt_control_block_t * p_cb = &m_cb[p_instance->drv_inst_idx];
|
||||
|
|
Loading…
Reference in New Issue