global: use static method to construct AP_RSSI
This commit is contained in:
parent
b09e0c3261
commit
eadd650d78
@ -189,7 +189,7 @@ private:
|
||||
#endif
|
||||
|
||||
// RSSI
|
||||
AP_RSSI rssi;
|
||||
AP_RSSI rssi = AP_RSSI::create();
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
SITL::SITL sitl;
|
||||
|
@ -567,7 +567,7 @@ private:
|
||||
#endif
|
||||
|
||||
// RSSI
|
||||
AP_RSSI rssi;
|
||||
AP_RSSI rssi = AP_RSSI::create();
|
||||
|
||||
// Crop Sprayer
|
||||
#if SPRAYER == ENABLED
|
||||
|
@ -286,7 +286,7 @@ private:
|
||||
AP_Rally rally = AP_Rally::create(ahrs);
|
||||
|
||||
// RSSI
|
||||
AP_RSSI rssi;
|
||||
AP_RSSI rssi = AP_RSSI::create();
|
||||
|
||||
// This is the state of the flight control system
|
||||
// There are multiple states defined such as MANUAL, FBW-A, AUTO
|
||||
|
Loading…
Reference in New Issue
Block a user