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.
Dependents: PSL_ROBOT_lorenzo robot_lorenzo recepteur_mbed_os_6
Diff: MX12.cpp
- Revision:
- 14:5a0c7b30f8c0
- Parent:
- 13:ccda9a56fef1
- Child:
- 22:8fa806e3ece4
--- a/MX12.cpp Sun Nov 07 10:36:06 2021 +0000 +++ b/MX12.cpp Sun Nov 07 10:54:45 2021 +0000 @@ -317,6 +317,12 @@ /* set seriel state to Idle */ _bus_state = SerialState::Idle; break; + + default: + + /* unexpected case. If it occurs it would be due to a + * code error of this class */ + break } } }