We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa05b9b commit 042b635Copy full SHA for 042b635
2 files changed
PDP10/ka10_pipanel.c
@@ -341,7 +341,7 @@ void *blink(void *ptr)
341
}
342
343
/* Columns */
344
- for (col = 0; col < 10; col++) {
+ for (col = 0; col < 18; col++) {
345
gpio_set_fsel(cols[col], GPIO_FSEL_INPUT);
346
gpio_set_pull(cols[col], PULL_UP);
347
@@ -367,10 +367,10 @@ void *blink(void *ptr)
367
switch (row) {
368
default:
369
case 0:
370
- leds = (((MI_flag)? MI : MB) & MB_MASK0) >> MB_V_0;
+ leds = (MI & MB_MASK0) >> MB_V_0;
371
break;
372
case 1:
373
- leds = (((MI_flag)? MI : MB) & MB_MASK1) >> MB_V_1;
+ leds = (MI & MB_MASK1) >> MB_V_1;
374
375
case 2:
376
if (par_stop) {
0 commit comments