diff options
| author | tmk <nobody@nowhere> | 2013-03-20 00:28:13 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-03-20 00:28:13 +0900 |
| commit | 9757f960f9f50841df6651a1a52f63eb9aae242b (patch) | |
| tree | 1708fcb5becaff6b7eb007c826408cf63dbf3bf2 /common/action_macro.c | |
| parent | b057511f45de020c43021f2991569a53c2b929c9 (diff) | |
| download | qmk_firmware-9757f960f9f50841df6651a1a52f63eb9aae242b.tar.gz qmk_firmware-9757f960f9f50841df6651a1a52f63eb9aae242b.zip | |
Add NO_ACTION_TAPPING and NO_ACTION_MACRO config options
Diffstat (limited to 'common/action_macro.c')
| -rw-r--r-- | common/action_macro.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. | |||
| 20 | #include "action_macro.h" | 20 | #include "action_macro.h" |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | #ifndef NO_ACTION_MACRO | ||
| 24 | |||
| 23 | #define MACRO_READ() (macro = pgm_read_byte(macro_p++)) | 25 | #define MACRO_READ() (macro = pgm_read_byte(macro_p++)) |
| 24 | void action_macro_play(const prog_macro_t *macro_p) | 26 | void action_macro_play(const prog_macro_t *macro_p) |
| 25 | { | 27 | { |
| @@ -64,3 +66,4 @@ void action_macro_play(const prog_macro_t *macro_p) | |||
| 64 | { uint8_t ms = interval; while (ms--) _delay_ms(1); } | 66 | { uint8_t ms = interval; while (ms--) _delay_ms(1); } |
| 65 | } | 67 | } |
| 66 | } | 68 | } |
| 69 | #endif | ||
