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 Smoothie by
libs/Hook.h@2:1df0b61d3b5a, 2014-02-28 (annotated)
- Committer:
- Michael J. Spencer
- Date:
- Fri Feb 28 18:52:52 2014 -0800
- Revision:
- 2:1df0b61d3b5a
- Parent:
- 0:31e91bb0ef3c
Update to latest Smoothie.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Michael J. Spencer |
2:1df0b61d3b5a | 1 | #ifndef HOOK_H |
| Michael J. Spencer |
2:1df0b61d3b5a | 2 | #define HOOK_H |
| Michael J. Spencer |
2:1df0b61d3b5a | 3 | #include "libs/FPointer.h" |
| Michael J. Spencer |
2:1df0b61d3b5a | 4 | |
| Michael J. Spencer |
2:1df0b61d3b5a | 5 | // Hook is just a glorified FPointer |
| Michael J. Spencer |
2:1df0b61d3b5a | 6 | |
| Michael J. Spencer |
2:1df0b61d3b5a | 7 | class Hook : public FPointer { |
| Michael J. Spencer |
2:1df0b61d3b5a | 8 | public: |
| Michael J. Spencer |
2:1df0b61d3b5a | 9 | Hook(); |
| Michael J. Spencer |
2:1df0b61d3b5a | 10 | int interval; |
| Michael J. Spencer |
2:1df0b61d3b5a | 11 | int countdown; |
| Michael J. Spencer |
2:1df0b61d3b5a | 12 | }; |
| Michael J. Spencer |
2:1df0b61d3b5a | 13 | |
| Michael J. Spencer |
2:1df0b61d3b5a | 14 | #endif |
