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:
authorManuel Coenen <manuel@duet3d.com>2020-12-08 11:48:44 +0300
committerManuel Coenen <manuel@duet3d.com>2020-12-08 11:48:44 +0300
commit1254903e761f38bb4533a7f536d3d8af4d60b617 (patch)
tree8abc76076bc79e3dadb70df4715a0206ff6cb320 /src/Pins.h
parente7e63b5e9972fa4a491bf8866c869f34d1c815c8 (diff)
Save some memory by making serialChannelForPanelDueFlashing static
constexpr based on a #define
Diffstat (limited to 'src/Pins.h')
-rw-r--r--src/Pins.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Pins.h b/src/Pins.h
index ee518148..6253901d 100644
--- a/src/Pins.h
+++ b/src/Pins.h
@@ -64,6 +64,10 @@
#define HAS_AUX_DEVICES (defined(SERIAL_AUX_DEVICE)) // if SERIAL_AUX_DEVICE is defined then we have one or more aux devices
+#ifndef ALLOW_ARBITRARY_PANELDUE_PORT
+# define ALLOW_ARBITRARY_PANELDUE_PORT (0)
+#endif
+
#ifndef USE_CACHE
# define USE_CACHE 0
#endif