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-05-02 17:45:17 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-05-02 17:45:17 +0300
commit8d1e4917b9bdc57787dee47b3e41ef5b200d483d (patch)
treeb97cbc4ab8ec9b3bf741776cfa242260c47c4290 /src/Pins.h
parent55fbac140ece548dab419143d54d45ef6124b5a5 (diff)
Added boards[0].uniqueId to object model
Diffstat (limited to 'src/Pins.h')
-rw-r--r--src/Pins.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Pins.h b/src/Pins.h
index 0d743d59..dca6eb40 100644
--- a/src/Pins.h
+++ b/src/Pins.h
@@ -172,4 +172,11 @@
# define ALLOCATE_DEFAULT_PORTS 0
#endif
+// We must define SUPPORTS_UNIQUE_ID as either 0 or 1 so we can use it in maths
+#if SAM4E || SAM4S || SAME70
+# define SUPPORTS_UNIQUE_ID 1
+#else
+# define SUPPORTS_UNIQUE_ID 0
+#endif
+
#endif // PINS_H__