Skip to content

Commit

Permalink
GYRO_x_ALIGN_YAW (#645)
Browse files Browse the repository at this point in the history
* GYRO_x_ALIGN_YAW

use strict;
use warnings;
my ($gyro_id, $angle);
while (<>) {
    if (/^#define GYRO_([12])_ALIGN CW(90|180|270)_DEG$/) {
        $gyro_id = $1;
        $angle = $2;
        print;                  # Print the first line
        next;
    }
    if (defined($gyro_id) && /^#define GYRO_\Q$gyro_id\E_ALIGN_YAW \Q$angle\E0$/) {
        undef $gyro_id;         # Skip the second line if it matches
        next;
    }
    undef $gyro_id;             # Reset if no match
    print;
}

* handle _DEG_FLIP too

BEGIN {undef $/;}

s/(^\#define\s+GYRO_([12])_ALIGN\s+CW(90|180|270)_DEG)\n
\#define\s+GYRO_\g2_ALIGN_YAW\s+\g3[0]
/$1/mx;

s/(^\#define\s+GYRO_([12])_ALIGN\s+CW(90|180|270)_DEG_FLIP)\n
\#define\s+GYRO_\g2_ALIGN_PITCH\s+1800\n
\#define\s+GYRO_\g2_ALIGN_YAW\s+\g3[0]
/$1/mx;

* Few morre cases, proably missing /g modifier in perl s///

* Handle CW0_DEG_FLIP

(better newline handling in perl script)

BEGIN {undef $/;}

s/(^\#define\s+GYRO_([12])_ALIGN\s+CW(90|180|270)_DEG\n)
\#define\s+GYRO_\g2_ALIGN_YAW\s+\g3[0]\n
/$1/mxg;

s/(^\#define\s+GYRO_([12])_ALIGN\s+CW(90|180|270)_DEG_FLIP\n)
\#define\s+GYRO_\g2_ALIGN_PITCH\s+1800\n
\#define\s+GYRO_\g2_ALIGN_YAW\s+\g3[0]\n
/$1/mxg;

s/(^\#define\s+GYRO_([12])_ALIGN\s+CW0_DEG_FLIP\n)
\#define\s+GYRO_\g2_ALIGN_PITCH\s+1800\n
(?!\#define\s+GYRO_\g2_ALIGN_)
/$1/mxg;

* Fix some trivial cases manually

* Normalize/fix some other cases

* mark valid GYRO_1_ALIGN_YAW cases

GYRO_1_ALIGN ALIGN_CUSTOM

* Fix SPRACINGH7EXTREME typo
  • Loading branch information
ledvinap authored Dec 20, 2024
1 parent f2067f5 commit ac7c65c
Show file tree
Hide file tree
Showing 265 changed files with 11 additions and 332 deletions.
3 changes: 0 additions & 3 deletions configs/AG3XF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,5 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG_FLIP
#define GYRO_1_ALIGN_PITCH 1800
#define GYRO_1_ALIGN_YAW 2700
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_ALIGN CW0_DEG_FLIP
#define GYRO_2_ALIGN_PITCH 1800
3 changes: 0 additions & 3 deletions configs/AG3XF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,5 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG_FLIP
#define GYRO_1_ALIGN_PITCH 1800
#define GYRO_1_ALIGN_YAW 2700
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_ALIGN CW0_DEG_FLIP
#define GYRO_2_ALIGN_PITCH 1800
1 change: 0 additions & 1 deletion configs/AIRBOTF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
2 changes: 0 additions & 2 deletions configs/AIRBOTF4SD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,5 @@
#define DASHBOARD_I2C_INSTANCE I2CDEV_2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_ALIGN CW270_DEG
#define GYRO_2_ALIGN_YAW 2700
1 change: 0 additions & 1 deletion configs/AIRBOTF4V2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,4 @@
#define FLASH_SPI_INSTANCE SPI1
#define GYRO_1_SPI_INSTANCE SPI3
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
#define GYRO_2_SPI_INSTANCE SPI1
1 change: 0 additions & 1 deletion configs/AIRBOTF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,4 @@
#define FLASH_SPI_INSTANCE SPI1
#define GYRO_1_SPI_INSTANCE SPI3
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
#define GYRO_2_SPI_INSTANCE SPI1
1 change: 0 additions & 1 deletion configs/AIRBOTF7HDV/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/ALIENFLIGHTF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,4 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
#define USE_I2C_PULLUP
1 change: 0 additions & 1 deletion configs/ALIENFLIGHTNGF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,4 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
#define USE_I2C_PULLUP
2 changes: 0 additions & 2 deletions configs/ALIENFLIGHTNGF7_DUAL/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@
#define MAX7456_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
#define GYRO_2_SPI_INSTANCE SPI3
#define GYRO_2_ALIGN CW270_DEG
#define GYRO_2_ALIGN_YAW 2700
#define USE_I2C_PULLUP
1 change: 0 additions & 1 deletion configs/ALIENFLIGHTNGF7_ELRS/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,4 @@
#define MAX7456_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
//TODO #define EXPRESSLRS_DOMAIN ISM2400
1 change: 0 additions & 1 deletion configs/ALIENFLIGHTNGF7_RX/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,3 @@
#define MAX7456_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
1 change: 0 additions & 1 deletion configs/ANYFCF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,3 @@
#define DASHBOARD_I2C_INSTANCE I2CDEV_2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
1 change: 0 additions & 1 deletion configs/ANYFCM7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
1 change: 0 additions & 1 deletion configs/AOCODAF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW0_DEG_FLIP
#define GYRO_1_ALIGN_PITCH 1800
1 change: 0 additions & 1 deletion configs/AOCODARCF411_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,5 @@
#define MAX7456_SPI_INSTANCE SPI1
#define GYRO_1_SPI_INSTANCE SPI2
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
#define SERIALRX_UART SERIAL_PORT_USART1
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
2 changes: 0 additions & 2 deletions configs/AOCODARCF7DUAL/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,5 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI2
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
#define GYRO_2_SPI_INSTANCE SPI2
#define GYRO_2_ALIGN CW180_DEG
#define GYRO_2_ALIGN_YAW 1800
2 changes: 0 additions & 2 deletions configs/AOCODARCH7DUAL/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,5 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
#define GYRO_2_SPI_INSTANCE SPI4
#define GYRO_2_ALIGN CW180_DEG
#define GYRO_2_ALIGN_YAW 1800
1 change: 0 additions & 1 deletion configs/APEXF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,3 @@
#define GYRO_1_SPI_INSTANCE SPI3
#define GYRO_2_SPI_INSTANCE SPI3
#define GYRO_2_ALIGN CW270_DEG
#define GYRO_2_ALIGN_YAW 2700
2 changes: 0 additions & 2 deletions configs/APEXF72023/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,4 @@
#define GYRO_1_SPI_INSTANCE SPI3
#define GYRO_2_SPI_INSTANCE SPI3
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
#define GYRO_2_ALIGN CW90_DEG
#define GYRO_2_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/ARESF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
1 change: 0 additions & 1 deletion configs/ATOMRCF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/ATOMRCF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@
#define MAX7456_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/ATOMRCF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/BEASTFPVF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,3 @@
#define PINIO1_CONFIG 129
#define PINIO1_BOX 40
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/BETAFLIGHTF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
1 change: 0 additions & 1 deletion configs/BETAFPVF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
1 change: 0 additions & 1 deletion configs/BETAFPVF405_ELRS/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700

#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define SERIALRX_UART SERIAL_PORT_USART3
Expand Down
1 change: 0 additions & 1 deletion configs/BETAFPVF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800

#define SERIALRX_UART SERIAL_PORT_USART1
#define MSP_DISPLAYPORT_UART SERIAL_PORT_USART2
1 change: 0 additions & 1 deletion configs/BETAFPVF411RX/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,3 @@
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
1 change: 0 additions & 1 deletion configs/BETAFPVF435/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@

#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
#define FLASH_SPI_INSTANCE SPI2
#define MAX7456_SPI_INSTANCE SPI3
#define BARO_SPI_INSTANCE SPI3
Expand Down
1 change: 0 additions & 1 deletion configs/BETAFPVF4SX1280/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,4 @@
#define MAX7456_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
//TODO #define EXPRESSLRS_DOMAIN ISM2400
2 changes: 0 additions & 2 deletions configs/BETAFPVF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,5 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_ALIGN CW180_DEG
#define GYRO_2_ALIGN_YAW 1800
1 change: 0 additions & 1 deletion configs/BETAFPVG473/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
2 changes: 0 additions & 2 deletions configs/BETAFPVH743/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,5 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
#define GYRO_2_SPI_INSTANCE SPI4
#define GYRO_2_ALIGN CW180_DEG
#define GYRO_2_ALIGN_YAW 1800
1 change: 0 additions & 1 deletion configs/BLADE_F7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
1 change: 0 additions & 1 deletion configs/BLADE_F7_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC

#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700

#define PINIO1_BOX 40
#define PINIO2_BOX 41
Expand Down
1 change: 0 additions & 1 deletion configs/BLADE_F7_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
1 change: 0 additions & 1 deletion configs/CADDXF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,3 @@
#define PINIO2_BOX 41
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/CADDXF4_AIO_ELRS/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
2 changes: 0 additions & 2 deletions configs/CCRCF722D/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,5 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_ALIGN CW270_DEG
#define GYRO_2_ALIGN_YAW 2700
2 changes: 0 additions & 2 deletions configs/CHONKERH735/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ Details: https://github.com/crteensy/yolo-chonker/tree/as-built-20230303

#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_1
#define GYRO_1_ALIGN CW0_DEG_FLIP
#define GYRO_1_ALIGN_PITCH 1800
#define GYRO_2_ALIGN CW0_DEG_FLIP
#define GYRO_2_ALIGN_PITCH 1800

#define ENSURE_MPU_DATA_READY_IS_LOW
1 change: 0 additions & 1 deletion configs/CKFLIGHTF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@

#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW0_DEG
#define GYRO_1_ALIGN_YAW 0

#define MAX7456_SPI_INSTANCE SPI2

Expand Down
1 change: 0 additions & 1 deletion configs/CLRACINGF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_2_SPI_INSTANCE SPI1
#define GYRO_2_ALIGN CW90_DEG
#define GYRO_2_ALIGN_YAW 900
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
#define PINIO1_BOX 40
//TODO #define MCO2_ON_PC9 ON
2 changes: 0 additions & 2 deletions configs/COLIBRI/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG_FLIP
#define GYRO_1_ALIGN_PITCH 1800
#define GYRO_1_ALIGN_YAW 2700
1 change: 0 additions & 1 deletion configs/CRAZYBEEF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@
#define GYRO_1_SPI_INSTANCE SPI1
#define MAX7456_SPI_INSTANCE SPI2
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
1 change: 0 additions & 1 deletion configs/CRAZYBEEF4DXS/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,3 @@
#define MAX7456_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/CYCLONEF405_PRO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/CYCLONEF722_PRO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/DAKEFPVF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/DAKEFPVF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,3 @@
#define MAX7456_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
1 change: 0 additions & 1 deletion configs/DAKEFPVF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@

#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900

#define SERIALRX_UART SERIAL_PORT_USART2
#define ESC_SENSOR_UART SERIAL_PORT_USART3
1 change: 0 additions & 1 deletion configs/DAKEFPVF722X8/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@

#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
#define DEFAULT_CURRENT_METER_SCALE 120

#define SERIALRX_UART SERIAL_PORT_UART5
Expand Down
1 change: 0 additions & 1 deletion configs/DALRCF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,3 @@
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/DALRCF722DUAL/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,4 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
#define GYRO_2_SPI_INSTANCE SPI1
2 changes: 0 additions & 2 deletions configs/DARWINF411/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,3 @@
#define MAX7456_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG_FLIP
#define GYRO_1_ALIGN_PITCH 1800
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/DARWINF4SX1280HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,4 @@
#define MAX7456_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
//TODO #define EXPRESSLRS_DOMAIN ISM2400
1 change: 0 additions & 1 deletion configs/DARWINF722HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
1 change: 0 additions & 1 deletion configs/DARWINF722HDV2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ dma SPI_MOSI 3 0 # SPI_MOSI 3: DMA1 Stream 5 Channel 0
#define PINIO2_BOX 41
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
1 change: 0 additions & 1 deletion configs/DREAMFLYF405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/DREAMFLYF722/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
1 change: 0 additions & 1 deletion configs/DRONIUSF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,5 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW0_DEG_FLIP
#define GYRO_1_ALIGN_PITCH 1800
#define PINIO1_BOX 40
//TODO set box_user_1_name = VTX POWER
1 change: 0 additions & 1 deletion configs/DYSF44530D/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,3 @@
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW270_DEG
#define GYRO_1_ALIGN_YAW 2700
1 change: 0 additions & 1 deletion configs/EACHINEF411_AIO/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,5 @@
#define MAX7456_SPI_INSTANCE SPI2
#define FLASH_SPI_INSTANCE SPI2
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN_YAW 2700
#define GYRO_1_ALIGN CW270_DEG
#define BEEPER_INVERTED
Loading

0 comments on commit ac7c65c

Please sign in to comment.