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-20 12:24:01 +0300
committerManuel Coenen <manuel@duet3d.com>2021-01-20 12:24:01 +0300
commitf415976c32b69480c5dac4279247e37875176491 (patch)
treeaeacfb8a900fd83bfefa85c629b26e61649f4bbe /src/Endstops
parentfcd8410fb6379597f4ee0bf5a599d93161eea245 (diff)
Partway through cleaning up #if SAME5x crazyness
Diffstat (limited to 'src/Endstops')
-rw-r--r--src/Endstops/LocalZProbe.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Endstops/LocalZProbe.cpp b/src/Endstops/LocalZProbe.cpp
index 2c2b5b29..59722ccb 100644
--- a/src/Endstops/LocalZProbe.cpp
+++ b/src/Endstops/LocalZProbe.cpp
@@ -11,14 +11,14 @@
#include "RepRap.h"
#include "Platform.h"
-#if SAME5x || SAME70 // if using CoreN2G
-# include <AnalogIn.h>
-# if SAME5x
-using AnalogIn::AdcBits;
-# elif SAME70
-using LegacyAnalogIn::AdcBits;
-# endif
+#include <AnalogIn.h>
+using
+#if SAME5x
+ AnalogIn
+#elif SAME70
+ LegacyAnalogIn
#endif
+ ::AdcBits;
// Members of class LocalZProbe
LocalZProbe::~LocalZProbe() noexcept