From 2005e364d85019f2fc1ed1edaf8976658e16d8d1 Mon Sep 17 00:00:00 2001 From: Bruce Luckcuck Date: Tue, 21 May 2019 14:00:47 -0400 Subject: [PATCH] Fix compile errors if USE_GPS_RESCUE is not defined --- src/main/target/common_post.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index 6a032749ad..5fec9330f9 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -323,6 +323,10 @@ #undef USE_RANGEFINDER_TF #endif +#ifndef USE_GPS_RESCUE +#undef USE_CMS_GPS_RESCUE_MENU +#endif + // TODO: Remove this once HAL support is fixed for ESCSERIAL #ifdef STM32F7 #undef USE_ESCSERIAL