mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
global: use static method to construct RCMapper
This commit is contained in:
parent
c10a91964f
commit
a74e700006
@ -133,7 +133,7 @@ private:
|
||||
AP_Scheduler scheduler = AP_Scheduler::create();
|
||||
|
||||
// mapping between input channels
|
||||
RCMapper rcmap;
|
||||
RCMapper rcmap = RCMapper::create();
|
||||
|
||||
// board specific config
|
||||
AP_BoardConfig BoardConfig;
|
||||
|
@ -313,8 +313,8 @@ private:
|
||||
|
||||
// altitude below which we do no navigation in auto takeoff
|
||||
float auto_takeoff_no_nav_alt_cm;
|
||||
|
||||
RCMapper rcmap;
|
||||
|
||||
RCMapper rcmap = RCMapper::create();
|
||||
|
||||
// board specific config
|
||||
AP_BoardConfig BoardConfig;
|
||||
|
@ -169,7 +169,7 @@ private:
|
||||
AP_Scheduler scheduler = AP_Scheduler::create();
|
||||
|
||||
// mapping between input channels
|
||||
RCMapper rcmap;
|
||||
RCMapper rcmap = RCMapper::create();
|
||||
|
||||
// board specific config
|
||||
AP_BoardConfig BoardConfig;
|
||||
|
@ -251,7 +251,7 @@ private:
|
||||
mode_reason_t prev_control_mode_reason = MODE_REASON_UNKNOWN;
|
||||
|
||||
#if RCMAP_ENABLED == ENABLED
|
||||
RCMapper rcmap;
|
||||
RCMapper rcmap = RCMapper::create();
|
||||
#endif
|
||||
|
||||
// board specific config
|
||||
|
Loading…
Reference in New Issue
Block a user