From 5ce5b7b08bfadb9312e2e9f95d10b54d6dff7b4c Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Fri, 23 Aug 2024 08:03:16 -0700 Subject: [PATCH] Older variant.h files (IMO sloppily) don't define VEXT_ON_VALUE But in an attempt to avoid updating lots of files, make it default to LOW --- src/configuration.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/configuration.h b/src/configuration.h index 2e0efffd4..047dbd727 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -177,6 +177,11 @@ along with this program. If not, see . /* Step #1: offer chance for variant-specific defines */ #include "variant.h" +#if defined(VEXT_ENABLE) && !defined(VEXT_ON_VALUE) +// Older variant.h files might not be defining this value, so stay with the old default +#define VEXT_ON_VALUE LOW +#endif + #ifndef GPS_BAUDRATE #define GPS_BAUDRATE 9600 #endif