mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
[sys auto_init]
* added vtimer init to auto_init
This commit is contained in:
parent
64039410e4
commit
3643fc9801
@ -4,6 +4,7 @@
|
|||||||
#include "rtc.h"
|
#include "rtc.h"
|
||||||
#include "diskio.h"
|
#include "diskio.h"
|
||||||
#include <auto_init.h>
|
#include <auto_init.h>
|
||||||
|
#include "vtimer.h"
|
||||||
|
|
||||||
#define ENABLE_DEBUG
|
#define ENABLE_DEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
@ -25,6 +26,10 @@ void auto_init(void) {
|
|||||||
DEBUG("Auto init hwtimer module.\n");
|
DEBUG("Auto init hwtimer module.\n");
|
||||||
hwtimer_init();
|
hwtimer_init();
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef MODULE_VTIMER
|
||||||
|
DEBUG("Auto init vtimer module.\n");
|
||||||
|
vtimer_init();
|
||||||
|
#endif
|
||||||
#ifdef MODULE_SWTIMER
|
#ifdef MODULE_SWTIMER
|
||||||
DEBUG("Auto init swtimer module.\n");
|
DEBUG("Auto init swtimer module.\n");
|
||||||
swtimer_init();
|
swtimer_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user