Skip to content

Commit

Permalink
fix(tx16): Reduce likehood of TX16s seeming being unresponsive on sta…
Browse files Browse the repository at this point in the history
…rtup (#3655)

Reduce the number of retries of SD_MAX_VOLT_TRIAL to solve the problem that the card owner cannot enter the system during the boot process of TX16S.
  • Loading branch information
zyren authored Aug 3, 2023
1 parent f68d219 commit 7946122
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion radio/src/targets/common/arm/stm32/sdio_sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@
#define SD_STD_CAPACITY ((uint32_t)0x00000000)
#define SD_CHECK_PATTERN ((uint32_t)0x000001AA)

#define SD_MAX_VOLT_TRIAL ((uint32_t)0x0000FFFF)
#if defined(RADIO_TX16S)
#define SD_MAX_VOLT_TRIAL ((uint32_t)0x00000834)
#else
#define SD_MAX_VOLT_TRIAL ((uint32_t)0x0000FFFF)
#endif

#define SD_ALLZERO ((uint32_t)0x00000000)

#define SD_WIDE_BUS_SUPPORT ((uint32_t)0x00040000)
Expand Down

0 comments on commit 7946122

Please sign in to comment.