FPUTransform.h

changeset 0
2c8ba1964db7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/FPUTransform.h	Sat Nov 07 13:23:07 2015 +0100
@@ -0,0 +1,21 @@
+#ifndef __FPUTRANSFORM
+
+#define __FPUTRANSFORM
+#include "Marlin.h"
+#include "z_probe.h"
+
+#if defined(UMFPUSUPPORT) && (UMFPUSUPPORT > -1) 
+  extern bool FPUEnabled;
+  void FPUTransform_init();
+  void FPUEnable();
+  void FPUReset();
+  void FPUDisable();
+  void FPUTransform_determineBedOrientation();
+  void FPUTransform_transformDestination(); 
+
+#else //no UMFPU SUPPORT
+  FORCE_INLINE void FPUTransform_init() {};
+
+#endif //UMFPUSUPPORT
+
+#endif //__FPUTRANSFORM

mercurial