X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Fdynamic_keymap.c;h=38400e36f10d39444f09b1dce259b249b0957f45;hb=7ec583e5efb276ce90a40a1df985de7d0d0b8f46;hp=53c18a7510beb181ecc1a75b01a342537ec1531c;hpb=92c19dae8cfa1bbeeaa447353ac4d7a96e42b330;p=qmk_firmware.git diff --git a/quantum/dynamic_keymap.c b/quantum/dynamic_keymap.c index 53c18a751..38400e36f 100644 --- a/quantum/dynamic_keymap.c +++ b/quantum/dynamic_keymap.c @@ -224,7 +224,7 @@ void dynamic_keymap_macro_send( uint8_t id ) } // If the char is magic (tap, down, up), // add the next char (key to use) and send a 2 char string. - if ( data[0] == 1 || data[0] == 2 || data[0] == 3 ) { + if ( data[0] == SS_TAP_CODE || data[0] == SS_DOWN_CODE || data[0] == SS_UP_CODE ) { data[1] = eeprom_read_byte(p++); if ( data[1] == 0 ) { break;