DataFlash: use APM_BUILD_DELEGATES

This commit is contained in:
Andrew Tridgell 2015-05-13 18:33:16 +10:00
parent 0847bd2608
commit f8aef57ec3

View File

@ -30,7 +30,7 @@
class DataFlash_Class
{
public:
#if APM_BUILD_TYPE(APM_BUILD_APMrover2)
#if APM_BUILD_DELEGATES
typedef DELEGATE_FUNCTION2(void, AP_HAL::BetterStream*, uint8_t) print_mode_fn;
#else
typedef void (*print_mode_fn)(AP_HAL::BetterStream *, uint8_t);