SD card write slice mutability #35
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "pca006132/zynq-rs:sdio-fix"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Changed mutability for slice in SD card
write_block
function and cache, and removed some unused read functions for ADMA2 descriptor table.This change is for implementing the
Write
trait for SD card, as thewrite
function only accepts immutable slice which does not fit into the currentSdCard::write_block
signature, and the mutability is not really needed.(
dcci
takes&T
whiledcci_slice
takes&mut [T]
originally)Tested on ZC706, it should be working.
@astro