S3: Provide readable 7 segment error code display
As discussed in #1052
This commit is contained in:
parent
243951a791
commit
eb753fc82f
1 changed files with 2 additions and 2 deletions
|
@ -609,12 +609,12 @@ if (opaddr == 0xf0) { /* Is it command format?
|
|||
if (qbyte & 0x01) display[2][3] = '|' ;
|
||||
if (rbyte & 0x01) display[2][7] = '|' ;
|
||||
/* Print display segment array */
|
||||
sim_printf("\n");
|
||||
sim_printf("\r\n");
|
||||
for (i = 0; i < 3; i++) {
|
||||
for (j = 0; j < 9; j++) {
|
||||
sim_printf ("%c", display[i][j]);
|
||||
}
|
||||
sim_printf ("\n");
|
||||
sim_printf ("\r\n");
|
||||
}
|
||||
reason = STOP_HALT;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue