format code according to conventions [skip ci]

master
QMK Bot 2020-07-07 21:43:51 +00:00
parent 666cb44673
commit 9ae15e8c79
1 changed files with 2 additions and 2 deletions

View File

@ -221,8 +221,8 @@ bool process_dynamic_macro(uint16_t keycode, keyrecord_t *record) {
case DYN_REC_STOP: case DYN_REC_STOP:
/* Stop the macro recording. */ /* Stop the macro recording. */
if (record->event.pressed ^ (keycode != DYN_REC_STOP)) { /* Ignore the initial release if (record->event.pressed ^ (keycode != DYN_REC_STOP)) { /* Ignore the initial release
* just after the recording * just after the recording
* starts for DYN_REC_STOP. */ * starts for DYN_REC_STOP. */
switch (macro_id) { switch (macro_id) {
case 1: case 1:
dynamic_macro_record_end(macro_buffer, macro_pointer, +1, &macro_end); dynamic_macro_record_end(macro_buffer, macro_pointer, +1, &macro_end);