Merge pull request #4842 from NXPmicro/Fix_Analogout

Add call to DAC_Enable as this is no longer done as part …
pull/4935/head
Jimmy Brisson 2017-08-14 11:38:38 -05:00 committed by GitHub
commit d10d5af28a
1 changed files with 2 additions and 0 deletions

View File

@ -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)