AP_HAL: use functor macros

Functor is not yet being used but let's make is macro fallback to the
previous Delegate implementation for easy of transition between the two.
This commit is contained in:
Lucas De Marchi 2015-05-24 20:24:11 -03:00 committed by Andrew Tridgell
parent 7c4cf41ebc
commit 20ef7efaf6
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ namespace AP_HAL {
which allows us to encapculate a member function as a type
*/
typedef void(*Proc)(void);
typedef DELEGATE_FUNCTION0(void) MemberProc;
FUNCTOR_TYPEDEF(MemberProc, void);
/**
* Global names for all of the existing SPI devices on all platforms.