Skip to content

Commit

Permalink
Bugfix in FPGA bootrom
Browse files Browse the repository at this point in the history
  • Loading branch information
Moschn authored Feb 5, 2019
1 parent 716f53d commit a43ebc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fpga/src/bootrom/src/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit a43ebc1

Please sign in to comment.