diff options
Diffstat (limited to 'os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h')
-rw-r--r-- | os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h index 7093dd9b3..488b57491 100644 --- a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h +++ b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.h @@ -75,14 +75,6 @@ typedef struct { sdmmcslots_t slot_id;
- struct _pmc_periph_cfg pmccfg;
-
- bool use_fastest_clock;
-#if SDMMC_USE_TC == 1
- Tc * tctimer;
- uint8_t tc_chan;
-#endif
-
uint8_t * bp;
uint8_t * data_buf;
uint32_t data_buf_size;
@@ -129,10 +121,10 @@ struct SamaSDMMCDriver uint32_t timeout_ticks;
int8_t timeout_elapsed;
systime_t time,now;
-#if SDMMC_USE_TC == 0
+
rtcnt_t timeout_cycles;
rtcnt_t start_cycles;
-#endif
+
};
typedef sSdCard sdmmclib;
|