diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-05-23 21:40:12 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-05-23 21:40:12 +0300 |
commit | 93c65793846c22a204989d9acc64483b462e9a20 (patch) | |
tree | b41bdf632278ff19d62dc7ae8a723a8003f099a4 | |
parent | 386477f433041d9a74143d84605de24aacfd0838 (diff) |
Added definitions of potential Ethernet DMA channels to Pins_DuetNG.h
-rw-r--r-- | src/Config/Pins_DuetNG.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Config/Pins_DuetNG.h b/src/Config/Pins_DuetNG.h index c4339c34..09e53fe6 100644 --- a/src/Config/Pins_DuetNG.h +++ b/src/Config/Pins_DuetNG.h @@ -564,6 +564,12 @@ constexpr DmaChannel DmacChanWiFiTx = 1; constexpr DmaChannel DmacChanWiFiRx = 2; #endif +#if HAS_W5500_NETWORKING +// We can use the same DMA channels as for WiFi because only one of them will be present +constexpr DmaChannel DmacChanW5500Tx = 1; +constexpr DmaChannel DmacChanW5500Rx = 2; +#endif + namespace StepPins { // *** These next three functions must use the same bit assignments in the drivers bitmap *** |