AP RPM: Initialise backend with _instance
* Unsure how this worked in the past
This commit is contained in:
parent
0a60d713af
commit
723e166c13
@ -25,7 +25,7 @@ extern const AP_HAL::HAL& hal;
|
||||
open the sensor in constructor
|
||||
*/
|
||||
AP_RPM_SITL::AP_RPM_SITL(AP_RPM &_ap_rpm, uint8_t _instance, AP_RPM::RPM_State &_state) :
|
||||
AP_RPM_Backend(_ap_rpm, instance, _state)
|
||||
AP_RPM_Backend(_ap_rpm, _instance, _state)
|
||||
{
|
||||
sitl = (SITL::SITL *)AP_Param::find_object("SIM_");
|
||||
instance = _instance;
|
||||
|
Loading…
Reference in New Issue
Block a user