From dea5232f684c6a4cf552e910c9053cce747b0433 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Mon, 4 Dec 2023 16:13:36 +0100 Subject: [PATCH] Activate dshot telemetry define (#239) --- configs/FLYWOOF411_5IN1_AIO/config.h | 2 +- configs/GEPRCF722_BT_HD/config.h | 2 +- configs/IFLIGHT_F745_AIO_V2/config.h | 2 +- configs/NBD_GALAXYAIO255/config.h | 2 +- configs/NBD_INFINITYAIOV2/config.h | 2 +- configs/NBD_INFINITYAIOV2PRO/config.h | 2 +- configs/NEUTRONRCF411AIO/config.h | 2 +- configs/NEUTRONRCF722AIO/config.h | 2 +- configs/NEUTRONRCF745/config.h | 2 +- configs/NEUTRONRCF745VTX/config.h | 2 +- configs/NEUTRONRCF7AIO/config.h | 2 +- configs/NEUTRONRCH743AIO/config.h | 2 +- configs/SIRMIXALOT/config.h | 2 +- configs/TRANSTECF411AIO/config.h | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/configs/FLYWOOF411_5IN1_AIO/config.h b/configs/FLYWOOF411_5IN1_AIO/config.h index ac1a7891..19195ecc 100644 --- a/configs/FLYWOOF411_5IN1_AIO/config.h +++ b/configs/FLYWOOF411_5IN1_AIO/config.h @@ -89,7 +89,7 @@ #define RX_SPI_INSTANCE SPI3 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 200 diff --git a/configs/GEPRCF722_BT_HD/config.h b/configs/GEPRCF722_BT_HD/config.h index a4f148e1..a7bdf328 100644 --- a/configs/GEPRCF722_BT_HD/config.h +++ b/configs/GEPRCF722_BT_HD/config.h @@ -108,7 +108,7 @@ #define ADC_INSTANCE ADC3 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ESC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 100 diff --git a/configs/IFLIGHT_F745_AIO_V2/config.h b/configs/IFLIGHT_F745_AIO_V2/config.h index 121619cf..3376bb3d 100644 --- a/configs/IFLIGHT_F745_AIO_V2/config.h +++ b/configs/IFLIGHT_F745_AIO_V2/config.h @@ -111,7 +111,7 @@ #define BARO_I2C_INSTANCE (I2CDEV_1) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 100 diff --git a/configs/NBD_GALAXYAIO255/config.h b/configs/NBD_GALAXYAIO255/config.h index 97ea2318..21d4177b 100644 --- a/configs/NBD_GALAXYAIO255/config.h +++ b/configs/NBD_GALAXYAIO255/config.h @@ -103,7 +103,7 @@ #define USE_BARO #define BARO_I2C_INSTANCE (I2CDEV_2) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define BEEPER_INVERTED diff --git a/configs/NBD_INFINITYAIOV2/config.h b/configs/NBD_INFINITYAIOV2/config.h index 82630916..d6ec1e53 100644 --- a/configs/NBD_INFINITYAIOV2/config.h +++ b/configs/NBD_INFINITYAIOV2/config.h @@ -79,7 +79,7 @@ #define ADC1_DMA_OPT 1 #define MAG_I2C_INSTANCE (I2CDEV_1) #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC diff --git a/configs/NBD_INFINITYAIOV2PRO/config.h b/configs/NBD_INFINITYAIOV2PRO/config.h index 107dda52..e5f0b209 100644 --- a/configs/NBD_INFINITYAIOV2PRO/config.h +++ b/configs/NBD_INFINITYAIOV2PRO/config.h @@ -88,7 +88,7 @@ #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 230 diff --git a/configs/NEUTRONRCF411AIO/config.h b/configs/NEUTRONRCF411AIO/config.h index 0aeb684a..f25ef05d 100644 --- a/configs/NEUTRONRCF411AIO/config.h +++ b/configs/NEUTRONRCF411AIO/config.h @@ -91,7 +91,7 @@ #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC diff --git a/configs/NEUTRONRCF722AIO/config.h b/configs/NEUTRONRCF722AIO/config.h index a3dc8843..46a3364e 100644 --- a/configs/NEUTRONRCF722AIO/config.h +++ b/configs/NEUTRONRCF722AIO/config.h @@ -92,7 +92,7 @@ #define USE_ADC #define ADC_INSTANCE ADC3 #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 100 diff --git a/configs/NEUTRONRCF745/config.h b/configs/NEUTRONRCF745/config.h index 442d0833..bdb27037 100644 --- a/configs/NEUTRONRCF745/config.h +++ b/configs/NEUTRONRCF745/config.h @@ -133,7 +133,7 @@ #define BARO_I2C_INSTANCE (I2CDEV_1) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_VOLTAGE_METER_SCALE 210 diff --git a/configs/NEUTRONRCF745VTX/config.h b/configs/NEUTRONRCF745VTX/config.h index 7c8cc003..441b8d6e 100644 --- a/configs/NEUTRONRCF745VTX/config.h +++ b/configs/NEUTRONRCF745VTX/config.h @@ -134,7 +134,7 @@ #define BARO_I2C_INSTANCE (I2CDEV_1) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_VOLTAGE_METER_SCALE 210 diff --git a/configs/NEUTRONRCF7AIO/config.h b/configs/NEUTRONRCF7AIO/config.h index 60eb2f5d..a6f8f496 100644 --- a/configs/NEUTRONRCF7AIO/config.h +++ b/configs/NEUTRONRCF7AIO/config.h @@ -116,7 +116,7 @@ #define BARO_I2C_INSTANCE (I2CDEV_1) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_VOLTAGE_METER_SCALE 210 diff --git a/configs/NEUTRONRCH743AIO/config.h b/configs/NEUTRONRCH743AIO/config.h index 907fe13e..75916cd2 100644 --- a/configs/NEUTRONRCH743AIO/config.h +++ b/configs/NEUTRONRCH743AIO/config.h @@ -127,7 +127,7 @@ #define USE_BARO #define BARO_I2C_INSTANCE (I2CDEV_2) #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_CURRENT_METER_SCALE 100 diff --git a/configs/SIRMIXALOT/config.h b/configs/SIRMIXALOT/config.h index 0c085395..b804171d 100644 --- a/configs/SIRMIXALOT/config.h +++ b/configs/SIRMIXALOT/config.h @@ -81,7 +81,7 @@ //TODO #define SERIALRX_HALFDUPLEX ON #define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH #define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON -//TODO #define DSHOT_BIDIR OFF +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_OFF #define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC #define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC #define DEFAULT_VOLTAGE_METER_SCALE 80 diff --git a/configs/TRANSTECF411AIO/config.h b/configs/TRANSTECF411AIO/config.h index 76d83cf8..70d2f111 100644 --- a/configs/TRANSTECF411AIO/config.h +++ b/configs/TRANSTECF411AIO/config.h @@ -72,7 +72,7 @@ //TODO #define DSHOT_IDLE_VALUE 600 #define DEFAULT_DSHOT_BURST DSHOT_DMAR_AUTO -//TODO #define DSHOT_BIDIR ON +#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_ON #define DEFAULT_DSHOT_BITBANG DSHOT_BITBANG_OFF //TODO #define MOTOR_POLES 12 //TODO #define VBAT_MAX_CELL_VOLTAGE 450