mirror of https://github.com/ARMmbed/mbed-os.git
moved event_callback_t for compatibility with many drivers
parent
fbbda73faa
commit
e690ec0fc5
|
|
@ -873,6 +873,8 @@ private:
|
|||
R (*_thunk)(void*, void*);
|
||||
};
|
||||
|
||||
typedef Callback<void(int)> event_callback_t;
|
||||
|
||||
|
||||
} // namespace mbed
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ public:
|
|||
};
|
||||
|
||||
typedef FunctionPointerArg1<void, void> FunctionPointer;
|
||||
typedef FunctionPointerArg1<void, int> event_callback_t;
|
||||
|
||||
|
||||
} // namespace mbed
|
||||
|
|
|
|||
Loading…
Reference in New Issue