From dea9cb49271631d4def70d21db42a85d1d58f269 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 23 Jul 2015 15:37:39 +0200 Subject: o Fixing a bug where the reponse code wasn't properly set. --- config.h | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index 6ad7fb6..3f3271f 100644 --- a/config.h +++ b/config.h @@ -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 -- cgit v1.2.3