Remove connection attempts field from Config
This commit is contained in:
@@ -11,7 +11,6 @@ void initialize_config(Config *config, JsonDocument json) {
|
||||
config->device_id = strdup(json["device_id"]);
|
||||
config->mqtt_port = json["mqtt_port"];
|
||||
config->sleep_time = minutes_to_milliseconds(json["sleep_time"]);
|
||||
config->connection_attempts = json["connection_attempts"];
|
||||
}
|
||||
|
||||
bool load_config_file(const char *file_path, Config *config) {
|
||||
|
||||
Reference in New Issue
Block a user