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: RTOS-Setup/src/tasks.cpp
- Revision:
- 22:ef8aa9728013
- Parent:
- 21:b642c18eccd1
- Child:
- 27:18b6580eb0b1
--- a/RTOS-Setup/src/tasks.cpp Thu May 08 09:39:12 2014 +0000 +++ b/RTOS-Setup/src/tasks.cpp Thu May 08 10:33:43 2014 +0000 @@ -1,3 +1,9 @@ +/* File: tasks.h + * Author: Trung Tin Ian HUA + * Date: May 2014 + * Purpose: Code to intialise and start all threads. + */ + #include "tasks.h" #include "setup.h" @@ -18,14 +24,3 @@ /* Execute state machine forever */ Thread::wait(osWaitForever); } - -/* -int abs(float input) -{ - if (input < 0.0) - return -1* (int) input; - else - return input; -} -*/ -