Remove connection attempts field from Config
This commit is contained in:
@@ -12,8 +12,7 @@ typedef struct {
|
||||
const char *topic;
|
||||
const char *device_id;
|
||||
int mqtt_port;
|
||||
long sleep_time;
|
||||
int connection_attempts;
|
||||
unsigned long sleep_time;
|
||||
} Config;
|
||||
|
||||
void initialize_config(Config *config, JsonDocument json);
|
||||
|
||||
Reference in New Issue
Block a user