aboutsummaryrefslogtreecommitdiff
path: root/src/survive_config.c
diff options
context:
space:
mode:
authorJoshua Allen <axlecrusher@gmail.com>2017-03-06 22:21:15 -0500
committerJoshua Allen <axlecrusher@gmail.com>2017-03-06 22:21:15 -0500
commita7b423ba1f0b28d0e6f3f375475cf93d66b922c9 (patch)
treee1870d294a436b8e50151154b04cb2cc3ad29a3d /src/survive_config.c
parent0ebe84be5824202aecfd87ac58005afa76b36be9 (diff)
downloadlibsurvive-a7b423ba1f0b28d0e6f3f375475cf93d66b922c9.tar.gz
libsurvive-a7b423ba1f0b28d0e6f3f375475cf93d66b922c9.tar.bz2
remove unused function
Diffstat (limited to 'src/survive_config.c')
-rw-r--r--src/survive_config.c9
1 files changed, 1 insertions, 8 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;