From 70619ed6105a00fc8d8174c6b7de38131211930b Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 7 Jan 2019 16:43:03 +0100 Subject: [PATCH] Housekeeping --- sonoff/settings.h | 6 +++--- tools/decode-status.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sonoff/settings.h b/sonoff/settings.h index 3c88725e0..618cc03f2 100644 --- a/sonoff/settings.h +++ b/sonoff/settings.h @@ -68,14 +68,14 @@ typedef union { // Restricted by MISRA-C Rule 18.4 bu uint32_t time_append_timezone : 1; // bit 2 (v6.2.1.2) uint32_t gui_hostname_ip : 1; // bit 3 (v6.2.1.20) uint32_t tuya_apply_o20 : 1; // bit 4 (v6.3.0.4) - uint32_t mdns_enabled : 1; // bit 5 (v6.4.1.4) - SetOption55 + uint32_t mdns_enabled : 1; // bit 5 (v6.4.1.4) - SetOption55 uint32_t use_wifi_scan : 1; // bit 6 (v6.3.0.10) uint32_t use_wifi_rescan : 1; // bit 7 (v6.3.0.10) uint32_t receive_raw : 1; // bit 8 (v6.3.0.11) uint32_t hass_tele_on_power : 1; // bit 9 (v6.3.0.13) uint32_t sleep_normal : 1; // bit 10 (v6.3.0.15) - SetOption60 - Enable normal sleep instead of dynamic sleep - uint32_t button_switch_force_local : 1;// bit 11 - uint32_t no_pullup : 1; // bit 12 (v6.4.1.7) - SetOption62 - Force no pull-up (0 = default pull-up, 1 = no pull-up) + uint32_t button_switch_force_local : 1;// bit 11 (v6.3.0.16) - SetOption61 - Force local operation when button/switch topic is set + uint32_t no_pullup : 1; // bit 12 (v6.4.1.7) - SetOption62 - Force no pull-up (0 = (no)pull-up, 1 = no pull-up) uint32_t spare13 : 1; uint32_t spare14 : 1; uint32_t spare15 : 1; diff --git a/tools/decode-status.py b/tools/decode-status.py index 63655f5a6..04b549465 100644 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -96,7 +96,8 @@ a_setoption = [[ "Change state topic from tele/STATE to stat/RESULT", "Enable normal sleep instead of dynamic sleep", "Force local operation when button/switch topic is set", - "","","","", + "Force no pull-up", + "","","", "","","","", "","","","", "","","","",