diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-03-17 14:04:19 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-03-17 14:04:19 +0000 |
| commit | b92d3e1fded0ad335f7a2c8c0f5dea91d258bae0 (patch) | |
| tree | ada1f189c3fefe4f4fe3150cdb4b0d62b6162aa1 /stmhal/sdcard.h | |
| parent | 9e5ea4d768da3273b6d060cceffcc858e1c4827d (diff) | |
stmhal: Add fatfs support, working with flash and SD card.
Diffstat (limited to 'stmhal/sdcard.h')
| -rw-r--r-- | stmhal/sdcard.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/sdcard.h b/stmhal/sdcard.h index da7dbddab..aaf8382a5 100644 --- a/stmhal/sdcard.h +++ b/stmhal/sdcard.h @@ -6,7 +6,7 @@ bool sdcard_is_present(void); bool sdcard_power_on(void); void sdcard_power_off(void); uint64_t sdcard_get_capacity_in_bytes(void); -bool sdcard_read_block(uint8_t *dest, uint32_t block_num); -bool sdcard_write_block(const uint8_t *src, uint32_t block_num); +bool sdcard_read_blocks(uint8_t *dest, uint32_t block_num, uint32_t num_blocks); +bool sdcard_write_blocks(const uint8_t *src, uint32_t block_num, uint32_t num_blocks); extern const struct _mp_obj_base_t pyb_sdcard_obj; |
