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>2021-01-15 17:52:02 +0300
committerManuel Coenen <manuel@duet3d.com>2021-01-19 13:22:32 +0300
commite48e001033e373a8c59cf7892d7a4b8a5a7c9283 (patch)
tree478ddabd2e224e73d0b17a822c05d92fe2b0919a /src/Endstops/LocalZProbe.cpp
parented1f834bc57412ab58f3a9abb647e13f11e4b809 (diff)
Fix all compiler bugs (linker still unhappy)
Diffstat (limited to 'src/Endstops/LocalZProbe.cpp')
-rw-r--r--src/Endstops/LocalZProbe.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Endstops/LocalZProbe.cpp b/src/Endstops/LocalZProbe.cpp
index 9b2a593d..2c2b5b29 100644
--- a/src/Endstops/LocalZProbe.cpp
+++ b/src/Endstops/LocalZProbe.cpp
@@ -11,9 +11,13 @@
#include "RepRap.h"
#include "Platform.h"
-#if SAME5x
+#if SAME5x || SAME70 // if using CoreN2G
# include <AnalogIn.h>
+# if SAME5x
using AnalogIn::AdcBits;
+# elif SAME70
+using LegacyAnalogIn::AdcBits;
+# endif
#endif
// Members of class LocalZProbe