Skip to content

Commit 042b635

Browse files
committed
KA10: Update PI Panel to properly display the MI register.
1 parent aa05b9b commit 042b635

2 files changed

Lines changed: 60 additions & 8 deletions

File tree

PDP10/ka10_pipanel.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ void *blink(void *ptr)
341341
}
342342

343343
/* Columns */
344-
for (col = 0; col < 10; col++) {
344+
for (col = 0; col < 18; col++) {
345345
gpio_set_fsel(cols[col], GPIO_FSEL_INPUT);
346346
gpio_set_pull(cols[col], PULL_UP);
347347
}
@@ -367,10 +367,10 @@ void *blink(void *ptr)
367367
switch (row) {
368368
default:
369369
case 0:
370-
leds = (((MI_flag)? MI : MB) & MB_MASK0) >> MB_V_0;
370+
leds = (MI & MB_MASK0) >> MB_V_0;
371371
break;
372372
case 1:
373-
leds = (((MI_flag)? MI : MB) & MB_MASK1) >> MB_V_1;
373+
leds = (MI & MB_MASK1) >> MB_V_1;
374374
break;
375375
case 2:
376376
if (par_stop) {

0 commit comments

Comments
 (0)