diff options
Diffstat (limited to 'stmhal/main.c')
-rw-r--r-- | stmhal/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index 4aa668a13a..3f9683a542 100644 --- a/stmhal/main.c +++ b/stmhal/main.c @@ -37,6 +37,7 @@ #include "lcd.h" #include "accel.h" #include "servo.h" +#include "dac.h" #include "pin.h" #if 0 #include "timer.h" @@ -238,6 +239,11 @@ soft_reset: #endif #endif +#if MICROPY_HW_ENABLE_DAC + // DAC + dac_init(); +#endif + pin_map_init(); // we pre-import the pyb module |