mirror of https://github.com/ARMmbed/mbed-os.git
M263: Fix channel release in analogout_free()
parent
a62c877d0e
commit
3164095cd6
|
@ -115,7 +115,7 @@ void analogout_free(dac_t *obj)
|
|||
/* Channel-level windup from here */
|
||||
|
||||
/* Mark channel free */
|
||||
dac_modinit_mask[modidx] &= ~(1 << modidx);
|
||||
dac_modinit_mask[modidx] &= ~(1 << chn);
|
||||
|
||||
/* Close channel */
|
||||
DAC_Close(dac_base, chn);
|
||||
|
|
Loading…
Reference in New Issue