1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #4133 from gebart/pr/mulle-xtimer-init

mulle: Initialize xtimer early to support nvram usage in board_init
This commit is contained in:
Peter Kietzmann 2015-10-22 11:49:02 +02:00
commit c59f2450a7

View File

@ -28,6 +28,7 @@
#include "periph/rtt.h"
#include "periph/spi.h"
#include "nvram-spi.h"
#include "xtimer.h"
static nvram_t mulle_nvram_dev;
nvram_t *mulle_nvram = &mulle_nvram_dev;
@ -120,6 +121,9 @@ void board_init(void)
LED_YELLOW_ON;
/* NVRAM requires xtimer for timing */
xtimer_init();
/* Initialize NVRAM */
status = mulle_nvram_init();
if (status == 0) {