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
path: root/src/DuetM
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2019-12-29 13:40:35 +0300
committerDavid Crocker <dcrocker@eschertech.com>2019-12-29 13:40:35 +0300
commit3eb4e4cdeda9ba8e6c2d94b956196ebde233e619 (patch)
tree523b110872a453f9e83722e7bc09826785bea81f /src/DuetM
parent2dd08992a5f98a292660f27f2f4cd78154ab44ca (diff)
Merged changes from upstream
Diffstat (limited to 'src/DuetM')
-rw-r--r--src/DuetM/Pins_DuetM.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DuetM/Pins_DuetM.h b/src/DuetM/Pins_DuetM.h
index 4208a797..2eb5b8f9 100644
--- a/src/DuetM/Pins_DuetM.h
+++ b/src/DuetM/Pins_DuetM.h
@@ -90,6 +90,8 @@ constexpr size_t MaxExtrudersPerTool = 4;
constexpr size_t MaxFans = 6;
+constexpr unsigned int MaxTriggers = 16; // Must be <= 32 because we store a bitmap of pending triggers in a uint32_t
+
constexpr size_t NUM_SERIAL_CHANNELS = 2; // The number of serial IO channels (USB and one auxiliary UART)
#define SERIAL_MAIN_DEVICE SerialUSB
#define SERIAL_AUX_DEVICE Serial