From 4cc0c2ca4f5c23d43f53b25b750eb49d9a82f449 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Fri, 4 Mar 2011 22:01:49 +0100 Subject: [PATCH] Refine enhancements in ea4fdcf a bit. --- pinio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pinio.h b/pinio.h index 0b5e999..ae0d1a9 100644 --- a/pinio.h +++ b/pinio.h @@ -110,9 +110,9 @@ Z Stepper #define z_direction(dir) WRITE(Z_DIR_PIN, dir^1) #endif #else -#define _z_step(x) -#define z_step() -#define z_direction(x) + #define _z_step(x) do { } while (0) + #define z_step() do { } while (0) + #define z_direction(x) do { } while (0) #endif #ifdef Z_MIN_PIN #ifndef Z_INVERT_MIN