AMS Sansa: Make send_cmd() function a bit less complicated and save ~96 bytes.
commita1967369d856a37c5d4886979bc9f19ff646f628
authorFlynDice <FlynDice@a1c6a512-1295-4272-9138-f99709370657>
Sun, 22 Nov 2009 04:50:26 +0000 (22 04:50 +0000)
committerFlynDice <FlynDice@a1c6a512-1295-4272-9138-f99709370657>
Sun, 22 Nov 2009 04:50:26 +0000 (22 04:50 +0000)
tree26b0947706b57d7eac3693f2b8d9fccd39007b2b
parent07aca69da07d777d70e995ad2a7426af67b91c04
AMS Sansa:  Make send_cmd() function a bit less complicated and save ~96 bytes.

Also move sd_wait_for_state() to immediately precede SD_READ/WRITE_MULTIPLE_BLOCK commands.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23692 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/as3525/ata_sd_as3525.c