diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index dd4823f373..cb456d7de4 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -60,7 +60,7 @@ #endif #endif -#if !defined(USE_BARO) +#if !defined(USE_BARO) && !defined(USE_GPS) #undef USE_VARIO #endif