summaryrefslogtreecommitdiff
path: root/common/action_macro.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-20 00:28:13 +0900
committertmk <nobody@nowhere>2013-03-20 00:28:13 +0900
commit9757f960f9f50841df6651a1a52f63eb9aae242b (patch)
tree1708fcb5becaff6b7eb007c826408cf63dbf3bf2 /common/action_macro.h
parentb057511f45de020c43021f2991569a53c2b929c9 (diff)
Add NO_ACTION_TAPPING and NO_ACTION_MACRO config options
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