diff --git a/libraries/AP_Compass/Compass.cpp b/libraries/AP_Compass/Compass.cpp index 422e665001..6529183f7c 100644 --- a/libraries/AP_Compass/Compass.cpp +++ b/libraries/AP_Compass/Compass.cpp @@ -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