Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: MX12.cpp
- Revision:
- 10:ca9afe156ee1
- Parent:
- 9:b4a5187fdec6
- Child:
- 11:9bc7f5e2ccee
diff -r b4a5187fdec6 -r ca9afe156ee1 MX12.cpp
--- a/MX12.cpp Sat Nov 06 16:15:34 2021 +0000
+++ b/MX12.cpp Sat Nov 06 16:56:46 2021 +0000
@@ -262,7 +262,9 @@
_current_frame.valid = (_scontext.checksum == 0xFF);
_scontext.checksum = 0;
_pstate = Header;
- if(_answer) _sstate = Idle;
+ if(_answer) {
+ _sstate = SerialState::Idle;
+ }
_answer = 1;
break;
}