DataFlash: use APM_BUILD_DELEGATES
This commit is contained in:
parent
0847bd2608
commit
f8aef57ec3
@ -30,7 +30,7 @@
|
|||||||
class DataFlash_Class
|
class DataFlash_Class
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
#if APM_BUILD_TYPE(APM_BUILD_APMrover2)
|
#if APM_BUILD_DELEGATES
|
||||||
typedef DELEGATE_FUNCTION2(void, AP_HAL::BetterStream*, uint8_t) print_mode_fn;
|
typedef DELEGATE_FUNCTION2(void, AP_HAL::BetterStream*, uint8_t) print_mode_fn;
|
||||||
#else
|
#else
|
||||||
typedef void (*print_mode_fn)(AP_HAL::BetterStream *, uint8_t);
|
typedef void (*print_mode_fn)(AP_HAL::BetterStream *, uint8_t);
|
||||||
|
Loading…
Reference in New Issue
Block a user