From d469f5daf60b808812578ba442a1b8152d04fa53 Mon Sep 17 00:00:00 2001 From: Joem <650256+mosfet@users.noreply.github.com> Date: Mon, 5 Aug 2024 07:24:41 -0600 Subject: [PATCH] Update MLTYPHF4/config.h with spi vtx RTC6705 support (#512) * Update MLTYPHF4/config.h with spi vtx RTC6705 support The Motolabs Typhoon F4 stack's VTX connects via RTC6705. The pins for this were defined in it's config, but named differently for unknown reasons. This adds defines for the correct variable names as well as declaring it's necessary include. Works with both full and cloud builds. As seen in: https://discord.com/channels/868013470023548938/1269705725685399666 * Update configs/MLTYPHF4/config.h --------- Co-authored-by: Mark Haslinghuis --- configs/MLTYPHF4/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/MLTYPHF4/config.h b/configs/MLTYPHF4/config.h index 4897cd6e..a8230baf 100644 --- a/configs/MLTYPHF4/config.h +++ b/configs/MLTYPHF4/config.h @@ -31,6 +31,7 @@ #define USE_ACC #define USE_ACC_SPI_MPU6000 #define USE_MAX7456 +#define USE_VTX_RTC6705_SOFTSPI #define BEEPER_PIN PB4 #define MOTOR1_PIN PB5 @@ -67,6 +68,9 @@ #define VTX_CS_PIN PC7 #define VTX_DATA_PIN PC6 #define VTX_CLK_PIN PC2 +#define RTC6705_SPI_SDO_PIN PC6 +#define RTC6705_SPICLK_PIN PC2 +#define RTC6705_CS_PIN PC7 #define TIMER_PIN_MAPPING \ TIMER_PIN_MAP( 0, PB5 , 1, 0) \