diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index d39bf4f9a2..0d7e6f566e 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -56,7 +56,7 @@ #endif #endif -#ifndef USE_BARO +#if !defined(USE_BARO) && !defined(USE_GPS) #undef USE_VARIO #endif