move dht11 define to project.conf
This commit is contained in:
parent
d4656a26ff
commit
0097d192be
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue