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

This commit is contained in:
Bas Stottelaar 2018-07-09 23:58:47 +02:00
parent ec5e4f8dc6
commit fbb490a2e0

View File

@ -56,9 +56,13 @@
*/
static void dcdc_init(void)
{
#ifdef EMU_DCDCINIT_OFF
EMU_DCDCPowerOff();
#else
EMU_DCDCInit_TypeDef init_dcdc = EMU_DCDCINIT;
EMU_DCDCInit(&init_dcdc);
#endif
}
#endif