it works!
Dependencies: mbed-dev-f303 FastPWM3
Diff: PreferenceWriter/PrefrenceWriter.cpp
- Revision:
- 24:58c2d7571207
- Parent:
- 23:2adf23ee0305
--- a/PreferenceWriter/PrefrenceWriter.cpp Wed Apr 05 20:54:16 2017 +0000 +++ b/PreferenceWriter/PrefrenceWriter.cpp Fri Apr 07 16:23:39 2017 +0000 @@ -34,6 +34,7 @@ for (; offs < 320; offs++) { writer->write(offs, __float_reg[offs - 256]); } + __ready = false; } void PreferenceWriter::load() { @@ -47,5 +48,6 @@ } void PreferenceWriter::close() { + __ready = false; writer->close(); } \ No newline at end of file