diff options
author | Manuel Coenen <manuel@duet3d.com> | 2021-01-20 12:24:01 +0300 |
---|---|---|
committer | Manuel Coenen <manuel@duet3d.com> | 2021-01-20 12:24:01 +0300 |
commit | f415976c32b69480c5dac4279247e37875176491 (patch) | |
tree | aeacfb8a900fd83bfefa85c629b26e61649f4bbe /src/Endstops | |
parent | fcd8410fb6379597f4ee0bf5a599d93161eea245 (diff) |
Partway through cleaning up #if SAME5x crazyness
Diffstat (limited to 'src/Endstops')
-rw-r--r-- | src/Endstops/LocalZProbe.cpp | 14 |
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 |