diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-09-04 11:25:08 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-09-04 11:25:08 +0300 |
commit | 6d7486602f47d18d8ff3c887f6253d470cf9711e (patch) | |
tree | 0c85f715a1751bebf9937c989f22c07afd5810c0 /src/DuetNG | |
parent | e49bf9991f74f5fd13935add8a19245431f2b2ee (diff) |
Refactored aux port support to handle multiple aux ports
Also stop analog input task on SAME5x build when preparing to load IAP
Diffstat (limited to 'src/DuetNG')
-rw-r--r-- | src/DuetNG/Pins_DuetNG.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DuetNG/Pins_DuetNG.h b/src/DuetNG/Pins_DuetNG.h index d2fbb810..d98a1afc 100644 --- a/src/DuetNG/Pins_DuetNG.h +++ b/src/DuetNG/Pins_DuetNG.h @@ -122,10 +122,10 @@ constexpr unsigned int MaxTriggers = 16; // Must be <= 32 because we store a b constexpr size_t MaxSpindles = 4; // Maximum number of configurable spindles -constexpr size_t NUM_SERIAL_CHANNELS = 2; // The number of serial IO channels not counting the WiFi serial connection (USB and one auxiliary UART) -#define SERIAL_MAIN_DEVICE SerialUSB -#define SERIAL_AUX_DEVICE Serial -#define SERIAL_WIFI_DEVICE Serial1 +constexpr size_t NumSerialChannels = 2; // The number of serial IO channels not counting the WiFi serial connection (USB and one auxiliary UART) +#define SERIAL_MAIN_DEVICE SerialUSB +#define SERIAL_AUX_DEVICE Serial +#define SERIAL_WIFI_DEVICE Serial1 constexpr Pin UsbVBusPin = PortCPin(22); // Pin used to monitor VBUS on USB port |