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-12-27 17:06:26 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-12-27 17:06:26 +0300
commitc8d3ab8be56bbbc9e4ced2234392353606f1b891 (patch)
treea258beb68b1b23541a37a2af4d63ad01ae083bcc /src/Pins.h
parent0a46d5ad95faadd5c023cf52db06a9aa184b12b8 (diff)
Added SUPPORT_REMOTE_COMMANDS
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 ad68e92d..7f33c4ce 100644
--- a/src/Pins.h
+++ b/src/Pins.h
@@ -202,4 +202,8 @@
# define MCU_HAS_TRUERANDOM 0
#endif
+// Define SUPPORT_REMOTE_COMMANDS according to whether this hardware accepts commands over CAN
+// For now we exclude Duet 3 MB6HC because CoreNG doesn't support analog callbacks
+#define SUPPORT_REMOTE_COMMANDS (SUPPORT_CAN_EXPANSION && !defined(DUET3_ATE) && !defined(DUET3_V06))
+
#endif // PINS_H__