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.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
src/ControlTask/ControlTask.cpp@22:fe535532859c, 2016-09-08 (annotated)
- Committer:
- jmarkel44
- Date:
- Thu Sep 08 15:22:18 2016 +0000
- Revision:
- 22:fe535532859c
- Parent:
- 20:653923c2f37a
- Child:
- 46:4cb96ab2d1c8
testing;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| jmarkel44 | 20:653923c2f37a | 1 | #include "ControlTask.h" |
| jmarkel44 | 20:653923c2f37a | 2 | #include <stdio.h> |
| jmarkel44 | 20:653923c2f37a | 3 | #include "rtos.h" |
| jmarkel44 | 20:653923c2f37a | 4 | |
| jmarkel44 | 20:653923c2f37a | 5 | void ControlTask(void const *args) |
| jmarkel44 | 20:653923c2f37a | 6 | { |
| jmarkel44 | 20:653923c2f37a | 7 | printf("\r%s has started...\n", __func__); |
| jmarkel44 | 20:653923c2f37a | 8 | |
| jmarkel44 | 20:653923c2f37a | 9 | while ( true ) { |
| jmarkel44 | 22:fe535532859c | 10 | Thread::wait(5000); |
| jmarkel44 | 20:653923c2f37a | 11 | } |
| jmarkel44 | 20:653923c2f37a | 12 | } |
