X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Faction_macro.c;h=6d81a1efb46415619fc0fb90076c477819f9c86b;hb=10f33a3e484e24065ed5eaab1c56c35156bace89;hp=ca7ffa822db7c103a5c552f549dafe422969713f;hpb=a207e848b3b308406263576c1e0d066067888416;p=qmk_firmware.git diff --git a/common/action_macro.c b/common/action_macro.c index ca7ffa822..6d81a1efb 100644 --- a/common/action_macro.c +++ b/common/action_macro.c @@ -20,6 +20,8 @@ along with this program. If not, see . #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