From a7b423ba1f0b28d0e6f3f375475cf93d66b922c9 Mon Sep 17 00:00:00 2001 From: Joshua Allen Date: Mon, 6 Mar 2017 22:21:15 -0500 Subject: remove unused function --- src/survive_config.c | 9 +-------- src/survive_config.h | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/survive_config.c b/src/survive_config.c index d91596f..83951fb 100644 --- a/src/survive_config.c +++ b/src/survive_config.c @@ -14,7 +14,7 @@ config_group lh_config[MAX_LIGHTHOUSES]; //lighthouse configs //static uint16_t used_entries = 0; -static FILE *config_file = NULL; +//static FILE *config_file = NULL; const FLT* config_set_float_a(config_group *cg, const char *tag, const FLT* values, uint8_t count); void init_config_group(config_group *cg, uint16_t count) { @@ -39,13 +39,6 @@ void config_init() { } } -void config_load(const char* path) { - config_file = fopen(path, "r"); -} - -void config_close() { - fclose(config_file); -} void config_set_lighthouse(struct BaseStationData* bsd, uint8_t idx) { config_group *cg = lh_config+idx; diff --git a/src/survive_config.h b/src/survive_config.h index 2610e2e..b14f928 100644 --- a/src/survive_config.h +++ b/src/survive_config.h @@ -39,7 +39,6 @@ extern config_group lh_config[2]; //lighthouse configs void config_init(); //void config_open(const char* path, const char* mode); void config_read(const char* path); -void config_close(); //void config_write_lighthouse(struct BaseStationData* bsd, uint8_t length); void config_set_lighthouse(struct BaseStationData* bsd, uint8_t idx); -- cgit v1.2.3