introduced WITH_SD parameter. added missing variable.

This commit is contained in:
nvt-se 2009-09-22 15:35:45 +00:00
parent ea56edc5c2
commit 1fb5841454
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,8 @@
#define HAVE_STDINT_H #define HAVE_STDINT_H
#include "msp430def.h" #include "msp430def.h"
#define WITH_SD 0
#define ENERGEST_CONF_ON 1 #define ENERGEST_CONF_ON 1
#define IRQ_PORT1 0x01 #define IRQ_PORT1 0x01

View File

@ -69,6 +69,10 @@ msb_ports_init(void)
int int
main(void) main(void)
{ {
#if WITH_SD
int r;
#endif /* WITH_SD */
msp430_cpu_init(); msp430_cpu_init();
watchdog_stop(); watchdog_stop();