1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Improved RTC6705 preinit conditional.

This commit is contained in:
mikeller 2018-01-10 01:35:48 +13:00
parent 2979056b66
commit 38682ac947
6 changed files with 11 additions and 11 deletions

View file

@ -235,7 +235,7 @@ void spiPreInit(void)
#ifdef USE_MAG_SPI_AK8963
spiPreInitCs(IO_TAG(AK8963_CS_PIN));
#endif
#ifdef RTC6705_CS_PIN // XXX VTX_RTC6705? Should use USE_ format.
#if defined(USE_VTX_RTC6705)
spiPreInitCs(IO_TAG(RTC6705_CS_PIN));
#endif
#ifdef USE_FLASH_M25P16