Skip to content

Commit

Permalink
Update MLTYPHF4/config.h with spi vtx RTC6705 support (betaflight#512)
Browse files Browse the repository at this point in the history
* 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 <mark@numloq.nl>
  • Loading branch information
Joem and haslinghuis authored Aug 5, 2024
1 parent ad0057e commit d469f5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configs/MLTYPHF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) \
Expand Down

0 comments on commit d469f5d

Please sign in to comment.