mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
GCS_MAVLink: removed BUILD_DELEGATES code
no longer needed
This commit is contained in:
parent
8624a262e7
commit
4fdfa47ca3
@ -72,8 +72,6 @@ public:
|
|||||||
GCS_MAVLINK();
|
GCS_MAVLINK();
|
||||||
#if APM_BUILD_FUNCTOR
|
#if APM_BUILD_FUNCTOR
|
||||||
FUNCTOR_TYPEDEF(run_cli_fn, void, AP_HAL::UARTDriver*);
|
FUNCTOR_TYPEDEF(run_cli_fn, void, AP_HAL::UARTDriver*);
|
||||||
#elif APM_BUILD_DELEGATES
|
|
||||||
typedef DELEGATE_FUNCTION1(void, AP_HAL::UARTDriver*) run_cli_fn;
|
|
||||||
#else
|
#else
|
||||||
typedef void (*run_cli_fn)(AP_HAL::UARTDriver *);
|
typedef void (*run_cli_fn)(AP_HAL::UARTDriver *);
|
||||||
#endif
|
#endif
|
||||||
@ -303,8 +301,6 @@ private:
|
|||||||
void lock_channel(mavlink_channel_t chan, bool lock);
|
void lock_channel(mavlink_channel_t chan, bool lock);
|
||||||
#if APM_BUILD_FUNCTOR
|
#if APM_BUILD_FUNCTOR
|
||||||
FUNCTOR_TYPEDEF(set_mode_fn, bool, uint8_t);
|
FUNCTOR_TYPEDEF(set_mode_fn, bool, uint8_t);
|
||||||
#elif APM_BUILD_DELEGATES
|
|
||||||
typedef DELEGATE_FUNCTION1(bool, uint8_t) set_mode_fn;
|
|
||||||
#else
|
#else
|
||||||
typedef bool (*set_mode_fn)(uint8_t);
|
typedef bool (*set_mode_fn)(uint8_t);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user