summaryrefslogtreecommitdiff
path: root/common/action_macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/action_macro.h')
-rw-r--r--common/action_macro.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/action_macro.h b/common/action_macro.h
index db65779590..ee5c7c4266 100644
--- a/common/action_macro.h
+++ b/common/action_macro.h
@@ -28,7 +28,11 @@ typedef uint8_t macro_t;
typedef macro_t prog_macro_t PROGMEM;
+#ifndef NO_ACTION_MACRO
void action_macro_play(const prog_macro_t *macro);
+#else
+#define action_macro_play(macro)
+#endif