Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-09-04 11:25:08 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-09-04 11:25:08 +0300
commit6d7486602f47d18d8ff3c887f6253d470cf9711e (patch)
tree0c85f715a1751bebf9937c989f22c07afd5810c0 /src/DuetNG
parente49bf9991f74f5fd13935add8a19245431f2b2ee (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.h8
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