mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
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.
This commit is contained in:
parent
6ebe1bfdc7
commit
4a1005c6a1
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user