fix: various fixes

Found by PVS-Studio
This commit is contained in:
Yurii
2025-09-23 04:02:40 +03:00
parent f3ba43adbd
commit 28a5218b7c
4 changed files with 30 additions and 30 deletions

View File

@@ -170,15 +170,15 @@ struct Settings {
struct {
struct {
bool enabled = false;
byte gpio = GPIO_IS_NOT_CONFIGURED;
byte invertState = false;
uint8_t gpio = GPIO_IS_NOT_CONFIGURED;
bool invertState = false;
unsigned short thresholdTime = 60;
} input;
struct {
bool enabled = false;
byte gpio = GPIO_IS_NOT_CONFIGURED;
byte invertState = false;
uint8_t gpio = GPIO_IS_NOT_CONFIGURED;
bool invertState = false;
unsigned short thresholdTime = 60;
bool onFault = true;
bool onLossConnection = true;