projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca31034
)
altos: ao_storage_read already calls ao_storage_setup
author
Keith Packard
<keithp@keithp.com>
Sun, 17 Jun 2012 23:11:23 +0000
(16:11 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 17 Jun 2012 23:11:23 +0000
(16:11 -0700)
No need to call twice.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_config.c
patch
|
blob
|
history
diff --git
a/src/core/ao_config.c
b/src/core/ao_config.c
index 76a8ed4a3b37aaa9f2e912113b1f2f327f785f0b..a4877b069387eb54359c737bc8601be88a374e62 100644
(file)
--- 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) {