Add manual ignition and igniter test commands
[fw/altos] / ao_ee.c
diff --git a/ao_ee.c b/ao_ee.c
index 642de19d4409086120c56c103f331eb0b242ce7c..a0f2e23a3f9392e4d1ed781d156f43c6cdf815d1 100644 (file)
--- a/ao_ee.c
+++ b/ao_ee.c
@@ -331,6 +331,7 @@ ao_ee_write_config(uint8_t *buf, uint16_t len) __reentrant
                ao_ee_fill(AO_EE_CONFIG_BLOCK);
                memcpy(ao_ee_data, buf, len);
                ao_ee_block_dirty = 1;
+               ao_ee_flush_internal();
        } ao_mutex_put(&ao_ee_mutex);
        return 1;
 }
@@ -403,8 +404,8 @@ ee_store(void)
 }
 
 __code struct ao_cmds ao_ee_cmds[] = {
-       { 'e', ee_dump,         "e <block>                          Dump a block of EEPROM data\n" },
-       { 'w', ee_store,        "w <block> <start> <len> <data> ... Write data to EEPROM\n" },
+       { 'e', ee_dump,         "e <block>                          Dump a block of EEPROM data" },
+       { 'w', ee_store,        "w <block> <start> <len> <data> ... Write data to EEPROM" },
        { 0,   ee_store, NULL },
 };