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: SpecifiedTimeout.h
- Revision:
- 5:92fc8f455565
- Parent:
- 4:32fa20b74c9c
--- a/SpecifiedTimeout.h Sat Jun 27 07:54:12 2015 +0000
+++ b/SpecifiedTimeout.h Sat Jun 27 08:19:19 2015 +0000
@@ -8,10 +8,11 @@
class SpecifiedTimeout : public Timeout {
public:
- uint32_t val;
+ uint32_t val; /*
void attach_us(uint32_t (*fptr)(uint32_t) , timestamp_t t, uint32_t val);
template<class T>
- void attach_us(T* tptr, uint32_t(T::*mptr)(uint32_t) , timestamp_t t, uint32_t val);
+ void attach_us(T* tptr, uint32_t(T::*mptr)(uint32_t) , timestamp_t t, uint32_t val); */
+ void set_refnum(uint32_t refnum);
protected:
virtual void handler();
FPointer _function;
@@ -26,9 +27,7 @@
};
//namespace mbed{
- void SpecifiedTimeout::handler() {
- _function.call(val);
-}
+
//}