mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 09:45:33 +03:00
whitespaces and typos
This commit is contained in:
parent
70c5f11805
commit
c1fe7b83af
2 changed files with 4 additions and 4 deletions
|
@ -262,7 +262,7 @@ bool SD_Init(void)
|
|||
hsd1.Init.BusWide = SDMMC_BUS_WIDE_1B; // FIXME untested
|
||||
#endif
|
||||
hsd1.Init.HardwareFlowControl = SDMMC_HARDWARE_FLOW_CONTROL_ENABLE;
|
||||
#ifdef SDCARD_SDIO_NORMAL_SPPED
|
||||
#ifdef SDCARD_SDIO_NORMAL_SPEED
|
||||
hsd1.Init.ClockDiv = SDMMC_NSpeed_CLK_DIV;
|
||||
#else
|
||||
hsd1.Init.ClockDiv = 1; // 200Mhz / (2 * 1 ) = 100Mhz, used for "UltraHigh speed SD card" only, see HAL_SD_ConfigWideBusOperation, SDMMC_HSpeed_CLK_DIV, SDMMC_NSpeed_CLK_DIV
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
#define USE_SDCARD_SDIO
|
||||
#define SDCARD_SDIO_DEVICE SDIODEV_2
|
||||
#define SDCARD_SDIO_4BIT
|
||||
#define SDCARD_SDIO_NORMAL_SPPED
|
||||
#define SDCARD_SDIO_NORMAL_SPEED
|
||||
#define SDCARD_SDIO2_CMD_ALT
|
||||
|
||||
#define ENABLE_BLACKBOX_LOGGING_ON_SDCARD_BY_DEFAULT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue