From d053767e2ed594b4c4d2c8bf7763850d093e49a1 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 12 Aug 2019 17:28:09 +0200 Subject: [PATCH] Update features Update features --- sonoff/support_features.ino | 4 +++- tools/decode-status.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sonoff/support_features.ino b/sonoff/support_features.ino index 189b741c6..15f4ad17c 100644 --- a/sonoff/support_features.ino +++ b/sonoff/support_features.ino @@ -425,7 +425,9 @@ void GetFeatures(void) feature5 = 0x00000000; -// feature5 |= 0x00000001; +#ifdef USE_BUZZER + feature5 |= 0x00000001; // xdrv_24_buzzer.ino +#endif // feature5 |= 0x00000002; // feature5 |= 0x00000004; // feature5 |= 0x00000008; diff --git a/tools/decode-status.py b/tools/decode-status.py index 53659c6c0..74e3ff012 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -160,7 +160,7 @@ a_features = [[ "USE_ADE7953","USE_SPS30","USE_VL53L0X","USE_MLX90614", "USE_MAX31865","USE_CHIRP","","" ],[ - "","","","", + "USE_BUZZER","","","", "","","","", "","","","", "","","","",