Skip to content
Snippets Groups Projects
Commit fbb490a2 authored by Bas Stottelaar's avatar Bas Stottelaar
Browse files

cpu: efm32: add support for no DC-DC converter

parent ec5e4f8d
No related branches found
No related tags found
No related merge requests found
...@@ -56,9 +56,13 @@ ...@@ -56,9 +56,13 @@
*/ */
static void dcdc_init(void) static void dcdc_init(void)
{ {
#ifdef EMU_DCDCINIT_OFF
EMU_DCDCPowerOff();
#else
EMU_DCDCInit_TypeDef init_dcdc = EMU_DCDCINIT; EMU_DCDCInit_TypeDef init_dcdc = EMU_DCDCINIT;
EMU_DCDCInit(&init_dcdc); EMU_DCDCInit(&init_dcdc);
#endif
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment