[Bugfix] Fix a constant name in config.h.sample and add a note about MODE_PROM_PUSH
This commit is contained in:
parent
4df507f7e1
commit
b5dae4a1ce
@ -41,7 +41,7 @@
|
|||||||
#define SYSTEM_NAME "internal-hostname"
|
#define SYSTEM_NAME "internal-hostname"
|
||||||
|
|
||||||
// The mode this system should run in. See consts.h for the available values.
|
// The mode this system should run in. See consts.h for the available values.
|
||||||
#define SYSTEM_MODE MODE_PULL
|
#define SYSTEM_MODE MODE_PROM_PULL
|
||||||
|
|
||||||
// If you have a DHT temperature+humidity sensor of this type will be used,
|
// If you have a DHT temperature+humidity sensor of this type will be used,
|
||||||
// remove the #undef line and uncomment one of DHT11 or DHT22. You also have
|
// remove the #undef line and uncomment one of DHT11 or DHT22. You also have
|
||||||
|
3
consts.h
3
consts.h
@ -27,3 +27,6 @@
|
|||||||
// Prometheus Pull mode. A Prometheus instance has to be configured to
|
// Prometheus Pull mode. A Prometheus instance has to be configured to
|
||||||
// regularly pull values from the station.
|
// regularly pull values from the station.
|
||||||
#define MODE_PROM_PULL 1
|
#define MODE_PROM_PULL 1
|
||||||
|
|
||||||
|
// NOTE: Bit 1 (ie. value of 2) is reserved for MODE_PROM_PUSH when it gets
|
||||||
|
// implemented
|
||||||
|
Loading…
Reference in New Issue
Block a user