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:
parent
77fd696067
commit
5297de4d83
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user