diff options
| author | hathach <[email protected]> | 2014-03-02 18:11:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-02 18:11:30 +0700 |
| commit | b5ce076d8d8806f4e3e93a2e6178eb33e831abff (patch) | |
| tree | 9fd276de422631c78c86f0d4f909d8079d48df69 /vendor | |
| parent | 5f8f046eaa10f434b9bbb7f7cd0ed0f9dad24952 (diff) | |
increase msc host app task stack size to 512 so that copy command can be executed
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/fatfs/diskio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/fatfs/diskio.c b/vendor/fatfs/diskio.c index e6b777fef..8d6794d47 100644 --- a/vendor/fatfs/diskio.c +++ b/vendor/fatfs/diskio.c @@ -42,8 +42,8 @@ //--------------------------------------------------------------------+ // INCLUDE //--------------------------------------------------------------------+ +#include "ffconf.h" #include "diskio.h" - //--------------------------------------------------------------------+ // MACRO CONSTANT TYPEDEF //--------------------------------------------------------------------+ @@ -63,6 +63,9 @@ static DRESULT wait_for_io_complete(uint8_t usb_addr) while ( tusbh_msc_is_busy(usb_addr) ) { // TODO should have timeout here + #if TUSB_CFG_OS != TUSB_OS_NONE + osal_task_delay(10); + #endif } return RES_OK; |
