diff --git a/Direction.h b/Direction.h index b614a04..1120c6b 100644 --- a/Direction.h +++ b/Direction.h @@ -91,6 +91,12 @@ protected: using DirectionSingle = DirectionOf; using Direction16 = DirectionOf; +#if defined(ARDUINO) +using Direction = Direction16; +#else +using Direction = DirectionSingle; +#endif + } // namespace LinearAlgebra } // namespace Passer using namespace Passer::LinearAlgebra; diff --git a/Spherical.h b/Spherical.h index e4d6682..3131a53 100644 --- a/Spherical.h +++ b/Spherical.h @@ -180,6 +180,12 @@ using SphericalSingle = SphericalOf; /// hardware using Spherical16 = SphericalOf; +#if defined(ARDUINO) +using Spherical = Spherical16; +#else +using Spherical = SphericalSingle; +#endif + } // namespace LinearAlgebra } // namespace Passer using namespace Passer::LinearAlgebra;