Commit 13db8b2b authored by Lucas Russo's avatar Lucas Russo

fmc250m_4ch: fix missing destroy for ISLA216P instances

parent 68c40a2e
......@@ -191,6 +191,12 @@ smio_err_e smio_fmc250m_4ch_destroy (smio_fmc250m_4ch_t **self_p)
smch_pca9547_destroy (&self->smch_pca9547);
}
/* Destroy all ISLA216P instances */
uint32_t i;
for (i = 0; i < NUM_FMC250M_4CH_ISLA216P; ++i) {
smch_isla216p_destroy (&self->smch_isla216p_adc[i]);
}
free (self);
*self_p = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment