Skip to content

Commit 68d3450

Browse files
committed
[DAC] Able to build without HAL module
Signed-off-by: Frederic Pillon <[email protected]>
1 parent e4b1121 commit 68d3450

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cores/arduino/stm32/stm32yyxx_hal_conf.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@
4747
/*
4848
* Not defined by default
4949
*/
50+
#if !defined(HAL_DAC_MODULE_DISABLED)
5051
/*#define HAL_DAC_MODULE_ENABLED*/
52+
#else
53+
#undef HAL_DAC_MODULE_ENABLED
54+
#endif
55+
5156
/*#define HAL_ETH_MODULE_ENABLED*/
5257
/*#define HAL_SD_MODULE_ENABLED*/
5358
/*#define HAL_QSPI_MODULE_ENABLED*/

0 commit comments

Comments
 (0)