move dht11 define to project.conf
This commit is contained in:
parent
d4656a26ff
commit
0097d192be
|
@ -32,6 +32,7 @@
|
||||||
#ifndef PROJECT_ERBIUM_CONF_H_
|
#ifndef PROJECT_ERBIUM_CONF_H_
|
||||||
#define PROJECT_ERBIUM_CONF_H_
|
#define PROJECT_ERBIUM_CONF_H_
|
||||||
|
|
||||||
|
#define DHT11 1
|
||||||
#define PLATFORM_HAS_INFO 1
|
#define PLATFORM_HAS_INFO 1
|
||||||
#define PLATFORM_HAS_BATTERY 1
|
#define PLATFORM_HAS_BATTERY 1
|
||||||
#define PLATFORM_HAS_DS1820 1
|
#define PLATFORM_HAS_DS1820 1
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#define udelay(u) clock_delay_usec(u)
|
#define udelay(u) clock_delay_usec(u)
|
||||||
#define mdelay(u) clock_delay_msec(u)
|
#define mdelay(u) clock_delay_msec(u)
|
||||||
|
|
||||||
|
// todo: set DHT22 or DHT11 in project file
|
||||||
// define for DHT11 else for DHT22, RHT03
|
// define for DHT11 else for DHT22, RHT03
|
||||||
// #define DHT11 1
|
// #define DHT11 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue