move dht11 define to project.conf

This commit is contained in:
Harald Pichler 2015-03-23 13:03:32 +01:00
parent d4656a26ff
commit 0097d192be
2 changed files with 2 additions and 0 deletions

View file

@ -32,6 +32,7 @@
#ifndef PROJECT_ERBIUM_CONF_H_
#define PROJECT_ERBIUM_CONF_H_
#define DHT11 1
#define PLATFORM_HAS_INFO 1
#define PLATFORM_HAS_BATTERY 1
#define PLATFORM_HAS_DS1820 1

View file

@ -29,6 +29,7 @@
#define udelay(u) clock_delay_usec(u)
#define mdelay(u) clock_delay_msec(u)
// todo: set DHT22 or DHT11 in project file
// define for DHT11 else for DHT22, RHT03
// #define DHT11 1