From f2067f5678509df3485cd6248c3b673644630e88 Mon Sep 17 00:00:00 2001 From: Petr Ledvina Date: Thu, 19 Dec 2024 17:03:37 +0100 Subject: [PATCH] Fix custom align (#643) GYRO_1_ALIGN and GYRO_1_ALIGN_[RPY] are mutually exclusive --- configs/CRAZYBEEF4SX1280/config.h | 1 - configs/STM32F4DISCOVERY/config.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/configs/CRAZYBEEF4SX1280/config.h b/configs/CRAZYBEEF4SX1280/config.h index bfe1fb55..85c53980 100644 --- a/configs/CRAZYBEEF4SX1280/config.h +++ b/configs/CRAZYBEEF4SX1280/config.h @@ -121,4 +121,3 @@ #define FLASH_SPI_INSTANCE SPI2 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW90_DEG -#define GYRO_1_ALIGN_YAW 900 diff --git a/configs/STM32F4DISCOVERY/config.h b/configs/STM32F4DISCOVERY/config.h index fc2462cc..6d924bfa 100644 --- a/configs/STM32F4DISCOVERY/config.h +++ b/configs/STM32F4DISCOVERY/config.h @@ -93,5 +93,3 @@ //TODO #define LED_INVERSION 3 #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN CW180_DEG_FLIP -#define GYRO_1_ALIGN_PITCH 1800 -#define GYRO_1_ALIGN_YAW 1800