diff options
author | Keith Packard <keithp@keithp.com> | 2012-06-17 16:11:23 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-06-17 16:11:23 -0700 |
commit | 4e6d96816e6604ee8d9bb49345a1c1211699a655 (patch) | |
tree | 899876b490a00e6cf6d1c898e7074ab9e6fef17c | |
parent | ca310342d7b0bd1b78318cae38d920b8690dfd36 (diff) |
altos: ao_storage_read already calls ao_storage_setup
No need to call twice.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/core/ao_config.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/ao_config.c b/src/core/ao_config.c index 76a8ed4a..a4877b06 100644 --- a/src/core/ao_config.c +++ b/src/core/ao_config.c @@ -81,7 +81,6 @@ _ao_config_get(void) if (ao_config_loaded) return; #if HAS_EEPROM - ao_storage_setup(); ao_storage_read(ao_storage_config, &ao_config, sizeof (ao_config)); #endif if (ao_config.major != AO_CONFIG_MAJOR) { |