From 7d29c6e4d1b1bf6fe9b5a1b18c9cfc2e321be46c Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 14 Nov 2018 11:59:46 +0000 Subject: [PATCH] Fix awkward define. --- src/main/target/WORMFC/target.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/target/WORMFC/target.h b/src/main/target/WORMFC/target.h index c73fdc8673..4788ebf64d 100644 --- a/src/main/target/WORMFC/target.h +++ b/src/main/target/WORMFC/target.h @@ -96,8 +96,7 @@ // GYRO section -- end //BARO -#if defined(PIRXF4) -#else +#if !defined(PIRXF4) #define USE_BARO #define USE_BARO_SPI_LPS #define LPS_SPI_INSTANCE SPI3