Replace deprecated StaticJsonDocument type
This commit is contained in:
@@ -18,7 +18,7 @@ typedef struct {
|
||||
int connection_attempts;
|
||||
} Config;
|
||||
|
||||
void initialize_config(Config *config, StaticJsonDocument<512> json);
|
||||
void initialize_config(Config *config, JsonDocument json);
|
||||
|
||||
bool load_config_file(const char *file_path, Config *config);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user