Commit Graph

5 Commits

Author SHA1 Message Date
nvt-se
8c040be133 Changed the name of the declaration of the default block size. Reduced the OCR reading timeout. 2009-11-07 01:05:23 +00:00
nvt-se
84f2a077de the return value should be checked against the size of sd_buf instead of buf 2009-11-03 16:18:37 +00:00
nvt-se
9b4cd05e1f Patch from David Gustafsson: break out SPI functions and fix bug in capacity
calculation.

Removed expensive modulo operations from sd_read and sd_write because the block size is now a variable. (nvt)
2009-11-03 15:21:43 +00:00
nvt-se
3e41c7d564 removed the immaterial sd_get_block_size function. 2009-09-24 12:09:26 +00:00
nvt-se
ea56edc5c2 added a simple driver for using SD devices through the SPI. 2009-09-22 15:20:51 +00:00