Merge pull request #7355 from haukepetersen/fix_msp430_callperiphinit
cpu/msp430: call periph_init during CPU init
This commit is contained in:
commit
eef26e2ef6
@ -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++;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user