mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 16:46:13 +01:00
still no compile... following a lead
This commit is contained in:
parent
b417ad6575
commit
2993725a14
|
@ -511,7 +511,7 @@ void MotorDriver::getFastPin(const FSH* type,int pin, bool input, FASTPIN & res
|
||||||
#if defined(ARDUINO_GIGA)
|
#if defined(ARDUINO_GIGA)
|
||||||
(void)type;
|
(void)type;
|
||||||
(void)input; // no warnings please
|
(void)input; // no warnings please
|
||||||
*result = digitalPinToGpio(pin);
|
*result = digitalPinToPort(pin);
|
||||||
#else
|
#else
|
||||||
#if defined(ARDUINO_ARCH_SAMD)
|
#if defined(ARDUINO_ARCH_SAMD)
|
||||||
PortGroup *port = digitalPinToPort(pin);
|
PortGroup *port = digitalPinToPort(pin);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user