From 7fa40ba6f8ce62ff6b2df3c0d7c7b58e31e46c57 Mon Sep 17 00:00:00 2001 From: mstroh76 Date: Fri, 31 May 2024 17:33:39 +0200 Subject: [PATCH] add API call getPinModeAlt --- wiringPi/wiringPi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }