Browse Source

AP_Compass: fix for mismatching set_initial_location parameters (forgot to change long to int32_t in .cpp file)

master
rmackay9 13 years ago
parent
commit
9b3ced93ee
  1. 2
      libraries/AP_Compass/Compass.cpp

2
libraries/AP_Compass/Compass.cpp

@ -55,7 +55,7 @@ Compass::get_offsets() @@ -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…
Cancel
Save