diff --git a/wiringPi/wiringPi.c b/wiringPi/wiringPi.c index 1cd1dba..22d2010 100644 --- a/wiringPi/wiringPi.c +++ b/wiringPi/wiringPi.c @@ -1318,8 +1318,8 @@ int getAlt (int pin) } -enum WPIPinALT getPinModeAlt(int pin) { - return (enum WPIPinALT) getAlt(pin); +enum WPIPinAlt getPinModeAlt(int pin) { + return (enum WPIPinAlt) getAlt(pin); }