Sub: Location gets ahrs from singleton
This commit is contained in:
parent
7015d42ab2
commit
31c6d7aaa0
@ -116,7 +116,6 @@ void Sub::init_ardupilot()
|
||||
#endif
|
||||
|
||||
// init Location class
|
||||
Location_Class::set_ahrs(&ahrs);
|
||||
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN
|
||||
Location_Class::set_terrain(&terrain);
|
||||
wp_nav.set_terrain(&terrain);
|
||||
|
Loading…
Reference in New Issue
Block a user