X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao_ee.c;h=a0f2e23a3f9392e4d1ed781d156f43c6cdf815d1;hp=642de19d4409086120c56c103f331eb0b242ce7c;hb=c3fec2c4c65db71e88ef0c05c69463438a7cfc6c;hpb=43c8f7012102cdb591ace899420c10e4a78385ad diff --git a/ao_ee.c b/ao_ee.c index 642de19d..a0f2e23a 100644 --- 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 Dump a block of EEPROM data\n" }, - { 'w', ee_store, "w ... Write data to EEPROM\n" }, + { 'e', ee_dump, "e Dump a block of EEPROM data" }, + { 'w', ee_store, "w ... Write data to EEPROM" }, { 0, ee_store, NULL }, };