fix(pa01): occasional Read/Write Failures on SD Card (#6849)
This commit is contained in:
@@ -138,8 +138,11 @@ struct {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BLOCK_SIZE FF_MAX_SS
|
#define BLOCK_SIZE FF_MAX_SS
|
||||||
#define SD_TIMEOUT 300 /* 300ms */
|
#if defined(RADIO_PA01)
|
||||||
|
#define SD_TIMEOUT 1000 /* 1000ms */
|
||||||
|
#else
|
||||||
|
#define SD_TIMEOUT 300 /* 300ms */
|
||||||
|
#endif
|
||||||
#if defined(STM32F4)
|
#if defined(STM32F4)
|
||||||
extern uint32_t _sram;
|
extern uint32_t _sram;
|
||||||
extern uint32_t _heap_start;
|
extern uint32_t _heap_start;
|
||||||
|
|||||||
Reference in New Issue
Block a user