forked from mirrors/qmk_userspace
Add NO_ACTION_TAPPING and NO_ACTION_MACRO config options
This commit is contained in:
parent
b057511f45
commit
9757f960f9
4 changed files with 36 additions and 6 deletions
|
@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue