mirror of
https://github.com/hsoft/collapseos.git
synced 2025-04-11 03:38:15 +10:00
Put the nop in the SD loop back
This commit is contained in:
parent
fca0244c68
commit
e2c1b4c8f4
@ -85,10 +85,11 @@
|
||||
|
||||
; *** Code ***
|
||||
; Wake the SD card up. After power up, a SD card has to receive at least 74
|
||||
; dummy clocks with CS and DI high. We send (way more than) 80.
|
||||
; dummy clocks with CS and DI high. We send 80.
|
||||
sdcWakeUp:
|
||||
out (SDC_PORT_CSHIGH), a
|
||||
ld b, 10 ; 10 * 11 == 110
|
||||
ld b, 10 ; 10 * 8 == 80
|
||||
nop
|
||||
ld a, 0xff
|
||||
.loop:
|
||||
out (SDC_PORT_SPI), a ;11 cycles
|
||||
|
Loading…
Reference in New Issue
Block a user