diff --git a/libraries/SrcWrapper/src/stm32/analog.cpp b/libraries/SrcWrapper/src/stm32/analog.cpp index 356643eb81..58b8f809cc 100644 --- a/libraries/SrcWrapper/src/stm32/analog.cpp +++ b/libraries/SrcWrapper/src/stm32/analog.cpp @@ -409,7 +409,11 @@ void dac_write_value(PinName pin, uint32_t value, uint8_t do_init) } dacChannelConf.DAC_Trigger = DAC_TRIGGER_NONE; +#if defined(DISABLE_DAC_OUTPUTBUFFER) + dacChannelConf.DAC_OutputBuffer = DAC_OUTPUTBUFFER_DISABLE; +#else dacChannelConf.DAC_OutputBuffer = DAC_OUTPUTBUFFER_ENABLE; +#endif #if defined(DAC_OUTPUTSWITCH_ENABLE) dacChannelConf.DAC_OutputSwitch = DAC_OUTPUTSWITCH_ENABLE; #endif pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy