1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-27 19:11:54 +02:00

ubbctl/ubbctl.c (show_pins): indicate function pins with "F" instead of "FN"

For consistency with Z and R.
This commit is contained in:
Werner Almesberger 2013-01-06 10:47:31 -03:00
parent 77fd696067
commit 5297de4d83

View File

@ -43,7 +43,7 @@ static void show_pins(void)
printf("%s%s=", p == pins ? "" : " ", p->name); printf("%s%s=", p == pins ? "" : " ", p->name);
pin = PIN(p->mask); pin = PIN(p->mask);
if (PDFUN & p->mask) { if (PDFUN & p->mask) {
printf("FN"); putchar('F');
} else if (PDDIR & p->mask) { } else if (PDDIR & p->mask) {
set = !!(PDDAT & p->mask); set = !!(PDDAT & p->mask);
if (pin != set) if (pin != set)