Use sht11 driver.
This commit is contained in:
parent
045225fa05
commit
91b79de654
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
SENSORS = sensors.c irq.c
|
SENSORS = sensors.c irq.c sht11.c
|
||||||
#SD = sd.c sd_cache.c sd_erase.c sd_info.c
|
#SD = sd.c sd_cache.c sd_erase.c sd_info.c
|
||||||
MSB = dma.c infomem.c node-id.c \
|
MSB = dma.c infomem.c node-id.c \
|
||||||
msb430-uart1.c rs232.c msb430-slip-arch.c \
|
msb430-uart1.c rs232.c msb430-slip-arch.c \
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
|
|
||||||
#include "dev/adc.h"
|
#include "dev/adc.h"
|
||||||
#include "dev/dma.h"
|
#include "dev/dma.h"
|
||||||
|
#include "dev/sht11.h"
|
||||||
#include "dev/slip.h"
|
#include "dev/slip.h"
|
||||||
|
|
||||||
#include "net/mac/nullmac.h"
|
#include "net/mac/nullmac.h"
|
||||||
|
@ -103,6 +104,7 @@ main(void)
|
||||||
clock_init();
|
clock_init();
|
||||||
leds_init();
|
leds_init();
|
||||||
leds_on(LEDS_ALL);
|
leds_on(LEDS_ALL);
|
||||||
|
sht11_init();
|
||||||
|
|
||||||
// low level
|
// low level
|
||||||
irq_init();
|
irq_init();
|
||||||
|
|
Loading…
Reference in a new issue