summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-19 16:37:32 +0100
committertmk <nobody@nowhere>2013-03-19 16:37:32 +0100
commitecb7550a91a7fb9a2e7e717f3c0d40d30fd92121 (patch)
tree9d7ed14772aa3faedce7e3993b62950f3d3be1e2 /common
parent9757f960f9f50841df6651a1a52f63eb9aae242b (diff)
downloadqmk_firmware-ecb7550a91a7fb9a2e7e717f3c0d40d30fd92121.tar.gz
qmk_firmware-ecb7550a91a7fb9a2e7e717f3c0d40d30fd92121.tar.xz
Add NO_ACTION_FUNCTION config option
Diffstat (limited to 'common')
-rw-r--r--common/action.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/action.c b/common/action.c
index eda3a6d32..51b11d1bc 100644
--- a/common/action.c
+++ b/common/action.c
@@ -688,14 +688,18 @@ static void process_action(keyrecord_t *record)
#endif
/* Extentions */
+#ifndef NO_ACTION_MACRO
case ACT_MACRO:
action_macro_play(action_get_macro(record, action.func.id, action.func.opt));
break;
+#endif
case ACT_COMMAND:
break;
+#ifndef NO_ACTION_FUNCTION
case ACT_FUNCTION:
action_function(record, action.func.id, action.func.opt);
break;
+#endif
default:
break;
}