altos: Clean up radio CRC handling
[fw/altos] / src / core / ao_config.c
index 76a8ed4a3b37aaa9f2e912113b1f2f327f785f0b..cc580d666ede29b97dce87cccbec54b205719485 100644 (file)
@@ -81,6 +81,10 @@ _ao_config_get(void)
        if (ao_config_loaded)
                return;
 #if HAS_EEPROM
+       /* Yes, I know ao_storage_read calls ao_storage_setup,
+        * but ao_storage_setup *also* sets ao_storage_config, which we
+        * need before calling ao_storage_read here
+        */
        ao_storage_setup();
        ao_storage_read(ao_storage_config, &ao_config, sizeof (ao_config));
 #endif