diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-06-21 19:15:37 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-06-21 19:15:37 +0200 |
commit | 67b1ba7ea0a86eac679eafc8c724fcb6bb4f8c4f (patch) | |
tree | 1c03a13e9a0bd8d19cd7ea657c94ef781f5ab69b /config.h | |
parent | 933beebfa58618745c2f99de830be61036446d18 (diff) | |
download | trygvisio_soil_moisture-67b1ba7ea0a86eac679eafc8c724fcb6bb4f8c4f.tar.gz trygvisio_soil_moisture-67b1ba7ea0a86eac679eafc8c724fcb6bb4f8c4f.tar.bz2 trygvisio_soil_moisture-67b1ba7ea0a86eac679eafc8c724fcb6bb4f8c4f.tar.xz trygvisio_soil_moisture-67b1ba7ea0a86eac679eafc8c724fcb6bb4f8c4f.zip |
o Letting each sensor use the configured update interval.
o Changing the ID of the "get value" command. It has to include the sensor index when used as a notification message.
Dunno if this is the best strategy. I guess messages are cheap, but complexity is expensive.
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -53,7 +53,7 @@ values are commented out, but some have default values // Default: 1 // #define WAIT_FOR_SERIAL_BEFORE_STARING ... -// If enabled the sensor's name will be persisted in EEPROM +// If enabled the settings for each sensor will be persisted in EEPROM // // Values: // 0: disabled @@ -74,8 +74,7 @@ Do not touch stuff in this section, it only sets default values. #endif #ifndef PERSISTENT_CONFIGURATION_SUPPORT -// Default to off, the code is not fully functional yet -#define PERSISTENT_CONFIGURATION_SUPPORT 0 +#define PERSISTENT_CONFIGURATION_SUPPORT 1 #endif #ifndef SM_DEBUG @@ -83,4 +82,3 @@ Do not touch stuff in this section, it only sets default values. #endif #endif - |