mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
AP_Compass: fix for mismatching set_initial_location parameters (forgot to change long to int32_t in .cpp file)
This commit is contained in:
parent
11e946eb54
commit
9b3ced93ee
@ -55,7 +55,7 @@ Compass::get_offsets()
|
||||
}
|
||||
|
||||
void
|
||||
Compass::set_initial_location(long latitude, long longitude)
|
||||
Compass::set_initial_location(int32_t latitude, int32_t longitude)
|
||||
{
|
||||
// if automatic declination is configured, then compute
|
||||
// the declination based on the initial GPS fix
|
||||
|
Loading…
Reference in New Issue
Block a user