AP_Compass: correct incorrect and misleading comment
This commit is contained in:
parent
621d029207
commit
934d05f4ff
@ -48,7 +48,7 @@ AP_Compass_Backend *AP_Compass_HIL::detect()
|
||||
bool
|
||||
AP_Compass_HIL::init(void)
|
||||
{
|
||||
// register two compass instances
|
||||
// register compass instances
|
||||
for (uint8_t i=0; i<HIL_NUM_COMPASSES; i++) {
|
||||
uint32_t dev_id = AP_HAL::Device::make_bus_id(AP_HAL::Device::BUS_TYPE_SITL, i, 0, DEVTYPE_SITL);
|
||||
if (!register_compass(dev_id, _compass_instance[i])) {
|
||||
|
Loading…
Reference in New Issue
Block a user