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: common.h
- Revision:
- 52:917b3f31cad3
- Parent:
- 37:1251e35fe43e
- Child:
- 54:2551a3c781cf
--- a/common.h Tue Jan 17 12:32:12 2017 +0100 +++ b/common.h Tue Jan 17 12:47:55 2017 +0100 @@ -34,6 +34,10 @@ : type(type_) { value.f = f_val; } + Data(): type(0) + { + value.i = 0; + } std::string serialize(); bool deserialize(std::string str);