moved event_callback_t for compatibility with many drivers

pull/1793/head
Jimmy Brisson 2016-05-26 15:56:43 -05:00
parent fbbda73faa
commit e690ec0fc5
2 changed files with 2 additions and 1 deletions

View File

@ -873,6 +873,8 @@ private:
R (*_thunk)(void*, void*);
};
typedef Callback<void(int)> event_callback_t;
} // namespace mbed

View File

@ -56,7 +56,6 @@ public:
};
typedef FunctionPointerArg1<void, void> FunctionPointer;
typedef FunctionPointerArg1<void, int> event_callback_t;
} // namespace mbed