[Docs] Add `default` case in Tap Dance Example 6 (#13727)

Added a `default` case in `switch(ql_tap_state.state)` at line 493 and 494.
Without it compile firmware with Example 6 code will encounter 2 errors:
`enumeration value 'TD_NONE' not handled in switch`
`enumeration value 'TD_UNKNOWN' not handled in switch`
daktil_manuform
ForsakenRei 2021-07-26 22:45:08 -04:00 committed by GitHub
parent a617c8b80a
commit ae2c2358ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -490,6 +490,8 @@ void ql_finished(qk_tap_dance_state_t *state, void *user_data) {
layer_on(_MY_LAYER); layer_on(_MY_LAYER);
} }
break; break;
default:
break;
} }
} }