diff options
author | Manuel Coenen <manuel@duet3d.com> | 2020-12-08 11:48:44 +0300 |
---|---|---|
committer | Manuel Coenen <manuel@duet3d.com> | 2020-12-08 11:48:44 +0300 |
commit | 1254903e761f38bb4533a7f536d3d8af4d60b617 (patch) | |
tree | 8abc76076bc79e3dadb70df4715a0206ff6cb320 /src/Pins.h | |
parent | e7e63b5e9972fa4a491bf8866c869f34d1c815c8 (diff) |
Save some memory by making serialChannelForPanelDueFlashing static
constexpr based on a #define
Diffstat (limited to 'src/Pins.h')
-rw-r--r-- | src/Pins.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |