1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00
This commit is contained in:
Corvus Corax 2013-06-30 19:46:28 +02:00
parent 51a4b16af5
commit ba87f32812

View File

@ -73,7 +73,7 @@ static int32_t init(__attribute__((unused)) stateFilter *self)
GPSSettingsGet(&this->settings);
HomeLocationGet(&this->home);
if (this->home.Set != HOMELOCATION_SET_TRUE) {
if (this->home.Set == HOMELOCATION_SET_TRUE) {
// calculate home location coordinate reference
int32_t LLAi[3] = {
this->home.Latitude,