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.
SpecifiedTimeout.cpp@5:92fc8f455565, 2015-06-27 (annotated)
- Committer:
- ikrase
- Date:
- Sat Jun 27 08:19:19 2015 +0000
- Revision:
- 5:92fc8f455565
SpecifiedTimeout now builds.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ikrase | 5:92fc8f455565 | 1 | #include "mbed.h" |
| ikrase | 5:92fc8f455565 | 2 | #include "FPointer.h" |
| ikrase | 5:92fc8f455565 | 3 | #include "SpecifiedTimeout.h" |
| ikrase | 5:92fc8f455565 | 4 | |
| ikrase | 5:92fc8f455565 | 5 | |
| ikrase | 5:92fc8f455565 | 6 | void SpecifiedTimeout::handler() { |
| ikrase | 5:92fc8f455565 | 7 | _function.call(val); |
| ikrase | 5:92fc8f455565 | 8 | } |
| ikrase | 5:92fc8f455565 | 9 | |
| ikrase | 5:92fc8f455565 | 10 | void SpecifiedTimeout::set_refnum(uint32_t refnum){ |
| ikrase | 5:92fc8f455565 | 11 | |
| ikrase | 5:92fc8f455565 | 12 | |
| ikrase | 5:92fc8f455565 | 13 | val = refnum; |
| ikrase | 5:92fc8f455565 | 14 | |
| ikrase | 5:92fc8f455565 | 15 | } |