summaryrefslogtreecommitdiff
path: root/common/action_macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/action_macro.c')
-rw-r--r--common/action_macro.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/action_macro.c b/common/action_macro.c
index ca7ffa822d..6d81a1efb4 100644
--- a/common/action_macro.c
+++ b/common/action_macro.c
@@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "action_macro.h"
+#ifndef NO_ACTION_MACRO
+
#define MACRO_READ() (macro = pgm_read_byte(macro_p++))
void action_macro_play(const prog_macro_t *macro_p)
{
@@ -64,3 +66,4 @@ void action_macro_play(const prog_macro_t *macro_p)
{ uint8_t ms = interval; while (ms--) _delay_ms(1); }
}
}
+#endif