Added settings to pause polling/sending commands in general and at night

This commit is contained in:
Thomas Basler
2023-02-18 19:44:16 +01:00
parent b319c78dc1
commit cd99ab8e42
10 changed files with 160 additions and 42 deletions

View File

@@ -40,6 +40,10 @@ struct CHANNEL_CONFIG_T {
struct INVERTER_CONFIG_T {
uint64_t Serial;
char Name[INV_MAX_NAME_STRLEN + 1];
bool Poll_Enable;
bool Poll_Enable_Night;
bool Command_Enable;
bool Command_Enable_Night;
CHANNEL_CONFIG_T channel[INV_MAX_CHAN_COUNT];
};