1
Dependencies: mbed-dev-f303 FastPWM3
Diff: PreferenceWriter/PrefrenceWriter.cpp
- Revision:
- 24:58c2d7571207
- Parent:
- 23:2adf23ee0305
- Child:
- 48:1b51771c3647
diff -r 2adf23ee0305 -r 58c2d7571207 PreferenceWriter/PrefrenceWriter.cpp --- 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