fix(tx16): Reduce likehood of TX16s seeming being unresponsive on startup (#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.
This commit is contained in:
zyren
2023-08-03 12:43:47 +10:00
committed by GitHub
parent f68d21935f
commit 79461226a1
+6 -1
View File
@@ -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)