From 2e1ba0194c561faf5fe396670deac2d6403d045e Mon Sep 17 00:00:00 2001 From: andrethomas Date: Thu, 1 Nov 2018 19:36:10 +0200 Subject: [PATCH] Move #define DRIVER_BOOT_DELAY to sonoff.h --- sonoff/my_user_config.h | 4 ---- sonoff/sonoff.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sonoff/my_user_config.h b/sonoff/my_user_config.h index 05a97c5e6..5b721af2a 100644 --- a/sonoff/my_user_config.h +++ b/sonoff/my_user_config.h @@ -269,10 +269,6 @@ // -- Internal Analog input ----------------------- #define USE_ADC_VCC // Display Vcc in Power status. Disable for use as Analog input on selected devices -// -- BOOT Delay for drivers ---------------------- - -#define DRIVER_BOOT_DELAY 1 // Number of milliseconds to retard driver cycles during boot-up time to reduce overall CPU load whilst Wifi is connecting - // -- One wire sensors ---------------------------- // WARNING: Select none for default one DS18B20 sensor or enable one of the following two options for multiple sensors //#define USE_DS18x20_LEGACY // Optional for more than one DS18x20 sensors with dynamic scan using library OneWire (+1k5 code) diff --git a/sonoff/sonoff.h b/sonoff/sonoff.h index 9bcbbb731..a7cb1ce9a 100644 --- a/sonoff/sonoff.h +++ b/sonoff/sonoff.h @@ -173,6 +173,8 @@ typedef unsigned long power_t; // Power (Relay) type #define KNX_MAX_device_param 30 #define MAX_KNXTX_CMNDS 5 +#define DRIVER_BOOT_DELAY 1 // Number of milliseconds to retard driver cycles during boot-up time to reduce overall CPU load whilst Wifi is connecting + /*********************************************************************************************\ * Enumeration \*********************************************************************************************/