Merge pull request #7355 from haukepetersen/fix_msp430_callperiphinit

cpu/msp430: call periph_init during CPU init
This commit is contained in:
Hauke Petersen 2017-07-14 14:50:36 +02:00 committed by GitHub
commit eef26e2ef6

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++;
}