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.
Fork of mbed-os-example-mbed5-blinky by
Revision 20:34e8d1b03de2, committed 2016-11-04
- Comitter:
- Roietronics
- Date:
- Fri Nov 04 00:29:32 2016 +0000
- Parent:
- 19:1c65f0106b2c
- Commit message:
- switch to none callback version
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Nov 04 00:23:50 2016 +0000
+++ b/main.cpp Fri Nov 04 00:29:32 2016 +0000
@@ -23,8 +23,8 @@
_id(id),
_thread()
{
- // osStatus status = _thread.start(this, &MyTest::myWorker);
- osStatus status = _thread.start(mbed::Callback<void()>((MyTest*)this, &MyTest::myWorker));
+ osStatus status = _thread.start(this, &MyTest::myWorker);
+ // osStatus status = _thread.start(mbed::Callback<void()>((MyTest*)this, &MyTest::myWorker));
}
};
