From 2993725a143b55aee7b5474e7affb743e116bf6f Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Fri, 20 Oct 2023 11:49:26 -0400 Subject: [PATCH] still no compile... following a lead --- MotorDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MotorDriver.cpp b/MotorDriver.cpp index f69fbba..763be44 100644 --- a/MotorDriver.cpp +++ b/MotorDriver.cpp @@ -511,7 +511,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 = digitalPinToGpio(pin); + *result = digitalPinToPort(pin); #else #if defined(ARDUINO_ARCH_SAMD) PortGroup *port = digitalPinToPort(pin);