diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-07-23 15:37:39 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-07-23 15:37:39 +0200 |
commit | dea9cb49271631d4def70d21db42a85d1d58f269 (patch) | |
tree | 77f8b281190818d0bde23c2535d845abe6d98258 /config.h | |
parent | 678dfb7e93f1d613fb9a513d60a685d5e3c1c3b3 (diff) | |
download | trygvisio_soil_moisture-dea9cb49271631d4def70d21db42a85d1d58f269.tar.gz trygvisio_soil_moisture-dea9cb49271631d4def70d21db42a85d1d58f269.tar.bz2 trygvisio_soil_moisture-dea9cb49271631d4def70d21db42a85d1d58f269.tar.xz trygvisio_soil_moisture-dea9cb49271631d4def70d21db42a85d1d58f269.zip |
o Fixing a bug where the reponse code wasn't properly set.
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 29 |
1 files changed, 28 insertions, 1 deletions
@@ -30,6 +30,9 @@ values are commented out, but some have default values */ +/////////////////////////////////////////////////////////////////////////////// +// Board version +// // You have to set this to match your board. The build will fail if // you don't set it. // @@ -39,8 +42,12 @@ values are commented out, but some have default values // // Default: not set, you have to set it // #define SM_BOARD_VERSION ... -#define SM_BOARD_VERSION 2 +#define SM_BOARD_VERSION 1 + +/////////////////////////////////////////////////////////////////////////////// +// Wait for serial before starting +// // If enabled the code won't start until you open the serial port // monitor or otherwise connect to the serial port. // @@ -54,6 +61,9 @@ values are commented out, but some have default values // Default: 1 // #define WAIT_FOR_SERIAL_BEFORE_STARING ... +/////////////////////////////////////////////////////////////////////////////// +// Persistent configuration +// // If enabled the settings for each sensor will be persisted in EEPROM // // Values: @@ -62,6 +72,19 @@ values are commented out, but some have default values // Default: 0 // #define PERSISTENT_CONFIGURATION_SUPPORT ... +/////////////////////////////////////////////////////////////////////////////// +// Use low power mode +// +// If enabled the device will try to use as little power as possible. +// +// Not fully functional yet so it is disabled by default. +// +// Values: +// 0: disabled +// 1: enabled +// Default: 0 +// #define USE_LOW_POWER_MODE ... + /* Default Values Section @@ -82,4 +105,8 @@ Do not touch stuff in this section, it only sets default values. #define SM_DEBUG 1 #endif +#ifndef LOW_POWER +#define LOW_POWER 0 +#endif + #endif |