From f40c3c3a1158452385b28a4e120429f90b247acd Mon Sep 17 00:00:00 2001 From: andrethomas Date: Sun, 12 Aug 2018 00:38:54 +0200 Subject: [PATCH] Update mcp230xx_config[].b4 -> .saved_state in settings.h --- sonoff/settings.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonoff/settings.h b/sonoff/settings.h index 38cadabb2..c2def2466 100644 --- a/sonoff/settings.h +++ b/sonoff/settings.h @@ -154,9 +154,9 @@ typedef union { typedef union { uint8_t data; struct { - uint8_t pinmode : 3; // Enable INPUT + uint8_t pinmode : 3; // Pin mode (1 through 5) uint8_t pullup : 1; // Enable internal weak pull-up resistor - uint8_t b4 : 1; + uint8_t saved_state : 1; // Save output state, if used. uint8_t b5 : 1; uint8_t b6 : 1; uint8_t b7 : 1;