1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 08:36:14 +01:00

reverting back a bit

This commit is contained in:
travis-farmer 2023-10-20 12:40:40 -04:00
parent e5ffab582f
commit 6ea3366c75

View File

@ -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)