X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao_ee.c;h=a0f2e23a3f9392e4d1ed781d156f43c6cdf815d1;hp=bce293cdbc1b739db8f3501697c2bde9cf738a4a;hb=e9584e846b9bd7926d61451d32ba5d7a30416f7b;hpb=d1887ded41a5bfec8e10e9fd736fa9444b9b6222 diff --git a/ao_ee.c b/ao_ee.c index bce293cd..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; }