Bugfix in FPGA bootrom

Thanks @janhoogerbrugge
This commit is contained in:
Moritz Schneider 2019-02-05 11:19:46 +01:00 committed by GitHub
parent 716f53d205
commit a43ebc15ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,7 +158,7 @@ int sd_copy(void *dst, uint32_t src_lba, uint32_t size)
crc = (crc << 1) | 1;
if (sd_cmd(18, src_lba, crc) != 0x00)
{
for (int j = 0; j < 8; i++)
for (int j = 0; j < 8; j++)
sd_dummy();
print_uart("could not read SD block\r\n");