mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-04-20 20:21:18 +02:00
reverting back a bit
This commit is contained in:
parent
e5ffab582f
commit
6ea3366c75
@ -510,7 +510,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 = digitalPinToPort(pin);
|
*result = digitalPinToGpio(pin);
|
||||||
#else
|
#else
|
||||||
(void) type; // avoid compiler warning if diag not used above.
|
(void) type; // avoid compiler warning if diag not used above.
|
||||||
#if defined(ARDUINO_ARCH_SAMD)
|
#if defined(ARDUINO_ARCH_SAMD)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user