mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/stm32/periph_dac: support for RCC_APB1ENR1_DAC1EN
This commit is contained in:
parent
b93328d14b
commit
63b4da3e1f
@ -33,8 +33,10 @@
|
||||
#endif
|
||||
|
||||
/* get RCC bit */
|
||||
#ifdef RCC_APB1ENR_DAC1EN
|
||||
#if defined(RCC_APB1ENR_DAC1EN)
|
||||
#define RCC_BIT (RCC_APB1ENR_DAC1EN)
|
||||
#elif defined(RCC_APB1ENR1_DAC1EN)
|
||||
#define RCC_BIT (RCC_APB1ENR1_DAC1EN)
|
||||
#else
|
||||
#define RCC_BIT (RCC_APB1ENR_DACEN)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user