From 6ea3366c7538d6d92ba8e9724b731dc8788ccc6b Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Fri, 20 Oct 2023 12:40:40 -0400 Subject: [PATCH] reverting back a bit --- MotorDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MotorDriver.cpp b/MotorDriver.cpp index 7f80544..8749471 100644 --- a/MotorDriver.cpp +++ b/MotorDriver.cpp @@ -510,7 +510,7 @@ void MotorDriver::getFastPin(const FSH* type,int pin, bool input, FASTPIN & res #if defined(ARDUINO_GIGA) (void)type; (void)input; // no warnings please - *result = digitalPinToPort(pin); + *result = digitalPinToGpio(pin); #else (void) type; // avoid compiler warning if diag not used above. #if defined(ARDUINO_ARCH_SAMD)