cpu/msp430: call periph_init during CPU init

This commit is contained in:
Hauke Petersen 2017-07-13 14:21:30 +02:00
parent b54f1106f6
commit 10d357e847

View File

@ -44,6 +44,7 @@
#include "cpu.h"
#include "irq.h"
#include "periph/init.h"
/*---------------------------------------------------------------------------*/
static void
@ -114,6 +115,8 @@ void msp430_cpu_init(void)
init_ports();
irq_enable();
periph_init();
if ((uintptr_t)cur_break & 1) { /* Workaround for msp430-ld bug!*/
cur_break++;
}