[Bugfix] Fix a constant name in config.h.sample and add a note about MODE_PROM_PUSH

This commit is contained in:
Gergely Polonkai 2021-02-01 15:31:44 +01:00
parent 4df507f7e1
commit b5dae4a1ce
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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