Browse Source

Modify pin arrangement

pull/68/head
frank 5 years ago
parent
commit
256d2958ca
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      gpio/readall.c

+ 2
- 2
gpio/readall.c View File

@@ -245,9 +245,9 @@ static void readallPhysKhadas (int model, int rev, int physPin, const char *phys
}

// Physical pin number
printf (" | %2d", physPin);
printf (" | %2d", (physPin+1)/2);
printf (" || %-2d", (physPin+41)/2);
++physPin;
printf (" || %-2d", physPin);

// GPIO pin mode, value, drive strength, pupd
if ((physToWpi [physPin] == -1) || (physPinToGpio (physPin) == -1))


Loading…
Cancel
Save