From 1be3a43f6e0a0d89dc051c62a87fb22b07a7bd74 Mon Sep 17 00:00:00 2001 From: Andre Thomas Date: Tue, 15 Oct 2019 19:49:33 +0200 Subject: [PATCH 1/3] Fix line used for tagging during custom builds I'm starting to use lines with `--` in them to identify different portions of the my_user_config.h to determine which directives are mandatory to make a build possible and those that may be commented out without impacting on a compile. This is useful for automation of custom builds wherein the my_user_config.h file is loaded, edited according to requirements, and rewritten by means of a program or script. I'm guessing this particular line is an exception by mistake so this PR just brings this particular line in check with the others that look the same or follow the same convention of `-- FUNCTIONAL DESCRIPTION ---------------` --- sonoff/my_user_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/my_user_config.h b/sonoff/my_user_config.h index 5cb920bee..62d166afc 100644 --- a/sonoff/my_user_config.h +++ b/sonoff/my_user_config.h @@ -440,7 +440,7 @@ //#define USE_RDM6300 // Add support for RDM6300 125kHz RFID Reader (+0k8) //#define USE_IBEACON // Add support for bluetooth LE passive scan of ibeacon devices (uses HM17 module) -// Power monitoring sensors ----------------------- +// -- Power monitoring sensors -------------------- #define USE_ENERGY_MARGIN_DETECTION // Add support for Energy Margin detection (+1k6 code) #define USE_ENERGY_POWER_LIMIT // Add additional support for Energy Power Limit detection (+1k2 code) #define USE_PZEM004T // Add support for PZEM004T Energy monitor (+2k code) From 96b7ed8880f727fa886d9171ac0268c453e080dc Mon Sep 17 00:00:00 2001 From: Andre Thomas Date: Tue, 15 Oct 2019 20:00:57 +0200 Subject: [PATCH 2/3] Update my_user_config.h --- sonoff/my_user_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/my_user_config.h b/sonoff/my_user_config.h index 62d166afc..9630da2f6 100644 --- a/sonoff/my_user_config.h +++ b/sonoff/my_user_config.h @@ -524,7 +524,7 @@ #define USE_ZIGBEE_PRECFGKEY_H 0x0D0C0A0806040200L // note: changing requires to re-pair all devices #define USE_ZIGBEE_PERMIT_JOIN false // don't allow joining by default -// ------------------------------------------------ +// -- Other sensors/drivers ----------------------- #define USE_SR04 // Add support for HC-SR04 ultrasonic devices (+1k code) From 33d5304e5480f8061c64aa29833520e152adf11c Mon Sep 17 00:00:00 2001 From: Andre Thomas Date: Tue, 15 Oct 2019 20:03:13 +0200 Subject: [PATCH 3/3] Update my_user_config.h --- sonoff/my_user_config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonoff/my_user_config.h b/sonoff/my_user_config.h index 9630da2f6..0c45cdde4 100644 --- a/sonoff/my_user_config.h +++ b/sonoff/my_user_config.h @@ -543,6 +543,8 @@ //#define USE_HRE // Add support for Badger HR-E Water Meter (+1k4 code) //#define USE_A4988_Stepper // Add support for A4988 stepper-motor-driver-circuit (+10k5 code) +// -- End of general directives ------------------- + /*********************************************************************************************\ * Debug features \*********************************************************************************************/