WiringPi: Minor changes
- Fix compile warning - Remove pwmSetMode function that is not used - Change the name of changing drive functions - Aggressively use of WiringPi setupCheck() function - Move usingGpiomem variable into libodroid structure - etc... Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: I355556975cedc686885f3b91d7f1a4ec02f1e232
This commit is contained in:
@@ -574,7 +574,7 @@ static void readallPhys(int model, int UNU rev, int physPin, const char *physNam
|
||||
case MODEL_ODROID_XU3:
|
||||
case MODEL_ODROID_N2:
|
||||
case MODEL_ODROID_C4:
|
||||
printf (" | %2d | %5s", getPadDrive(pin), pupd[getPUPD(pin)]);
|
||||
printf (" | %2d | %5s", getDrive(pin), pupd[getPUPD(pin)]);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -615,7 +615,7 @@ static void readallPhys(int model, int UNU rev, int physPin, const char *physNam
|
||||
case MODEL_ODROID_XU3:
|
||||
case MODEL_ODROID_N2:
|
||||
case MODEL_ODROID_C4:
|
||||
printf (" | %-5s | %-2d", pupd[getPUPD(pin)], getPadDrive(pin));
|
||||
printf (" | %-5s | %-2d", pupd[getPUPD(pin)], getDrive(pin));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user