Skip to content

Commit d8c56f6

Browse files
author
Sean Cross
committed
csd/cid: Improve printout
Add a linefeed to improve the output of the command.
1 parent 56e8919 commit d8c56f6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/ax215/main.c

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ static int send_cmdX(struct sd_state *state,
7474
out_bfr[0] = result;
7575
printf("Run %-4d ", run);
7676
print_header(bfr);
77+
printf("\n");
7778
print_hex(out_bfr, print_size);
7879
}
7980
run++;

src/ax215/sd.c

-2
Original file line numberDiff line numberDiff line change
@@ -647,8 +647,6 @@ uint8_t send_cmd ( /* Returns command response (bit7==1:Send failed)*/
647647
rcvr_spi(state, &d, 1);
648648
while ((d & 0x80) && --n);
649649

650-
printf("Sending CMD%d {0x%02x 0x%02x 0x%02x 0x%02x 0x%02x 0x%02x}: %x\n",
651-
buf[0]&0x3f, buf[0], buf[1], buf[2], buf[3], buf[4], buf[5], d);
652650
return d; /* Return with the response value */
653651
}
654652

0 commit comments

Comments
 (0)