Skip to content

Commit 923cba0

Browse files
committed
chore: adjust config defaults
1 parent e413e5d commit 923cba0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

main/include/config.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ namespace espConfig
132132
uint8_t ethPhyType = ETH_PHY_TYPE;
133133
std::array<uint8_t, 5> ethRmiiConfig = {ETH_RMII_CONF_PHY_ADDR, ETH_RMII_CONF_MDC_PIN, ETH_RMII_CONF_MDIO_PIN, ETH_RMII_CONF_POWER_PIN, ETH_RMII_CONF_RMII_CLOCK_MODE};
134134
std::array<uint8_t, 7> ethSpiConfig = {ETH_SPI_CONF_SPI_FREQ_MHZ, ETH_SPI_CONF_PIN_CS, ETH_SPI_CONF_PIN_IRQ, ETH_SPI_CONF_PIN_RST, ETH_SPI_CONF_PIN_SCK, ETH_SPI_CONF_PIN_MISO, ETH_SPI_CONF_PIN_MOSI};
135-
uint8_t logLevel = ESP_LOG_INFO;
135+
uint8_t logLevel = ESP_LOG_ERROR;
136136
};
137137
struct actions_config_t {
138138
enum colorMap

main/include/defaults.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
#define GPIO_HK_ALT_ACTION_TIMEOUT 5000 // GPIO Delay time in ms - Action
117117
#define GPIO_HK_ALT_ACTION_GPIO_STATE 1 // GPIO Pin pulled HIGH or LOW (see GPIO_HK_ALT_ACTION_HL) on action
118118
#define GPIO_HK_CONTROLLED_STATE false // Defines if HomeKey can control the GPIO state
119-
#define HK_DUMB_SWITCH_MODE false // Bypass lock state external validation
119+
#define HK_DUMB_SWITCH_MODE true // Bypass lock state external validation
120120

121121
// WebUI
122122
#define WEB_AUTH_ENABLED false

0 commit comments

Comments
 (0)