Skip to content
Snippets Groups Projects
Commit 4a1005c6 authored by Ludwig Knüpfer's avatar Ludwig Knüpfer
Browse files

clean up auto_init includes

Include headers only if respective module is built.
Fixes building for msb-430.
Prevents possible build breaks in the future.
parent 6ebe1bfd
No related branches found
No related tags found
No related merge requests found
......@@ -16,14 +16,27 @@
*/
#include <stdint.h>
#include <stdio.h>
#include "auto_init.h"
#ifdef MODULE_UART0
#include "board_uart0.h"
#include "rtc.h"
#endif
#ifdef MODULE_MCI
#include "diskio.h"
#include <auto_init.h>
#endif
#ifdef MODULE_VTIMER
#include "vtimer.h"
#endif
#ifdef MODULE_RTC
#include "rtc.h"
#endif
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
extern int main(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment