Changeset 343


Ignore:
Timestamp:
May 8, 2018, 12:31:18 PM (4 years ago)
Author:
coas-nagasima
Message:

SDカードがなくても起動するよう修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_rx/trunk/ntshell/fatfs/mmc_rspi.c

    r337 r343  
    232232        sil_wrw_mem(RSPI0_SPDR_ADDR, dat);                      /* Start transmission (lower 8bits) */
    233233        /*while ((sil_reb_mem(RSPI0_SPSR_ADDR) & RSPI_SPSR_SPRF_BIT) == 0);     /* Wait for end of transfer */
    234         wai_sem(MMC_RSPI_SEMAPHORE);
     234        if (twai_sem(MMC_RSPI_SEMAPHORE, 1000) != E_OK)
     235                return 0;
    235236        return sil_rew_mem(RSPI0_SPDR_ADDR);                    /* Returen received byte (lower 8bits) */
    236237}
Note: See TracChangeset for help on using the changeset viewer.