cpu: efm32: add support for no DC-DC converter
This commit is contained in:
parent
ec5e4f8dc6
commit
fbb490a2e0
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user