mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #4842 from NXPmicro/Fix_Analogout
Add call to DAC_Enable as this is no longer done as part …pull/4935/head
commit
d10d5af28a
|
@ -40,6 +40,8 @@ void analogout_init(dac_t *obj, PinName pin)
|
|||
DAC_Init(dac_bases[obj->dac], &dac_config);
|
||||
|
||||
DAC_SetBufferValue(dac_bases[obj->dac], 0, 0);
|
||||
|
||||
DAC_Enable(dac_bases[obj->dac], true);
|
||||
}
|
||||
|
||||
void analogout_free(dac_t *obj)
|
||||
|
|
Loading…
Reference in New Issue