~ruther/qmk_firmware

49abff90710a19e1b049ff335efc1073e4732c0d — Jan-Frederick Musiol 4 years ago 2d4ae0f
changed type of process_combo_event argument in tutorial (#10621)

in tutorial for combos feature, changed type of compo_index argument of process_combo_event form uint8_t to uint16_t
1 files changed, 1 insertions(+), 1 deletions(-)

M docs/feature_combo.md
M docs/feature_combo.md => docs/feature_combo.md +1 -1
@@ 55,7 55,7 @@ combo_t key_combos[COMBO_COUNT] = {
  [XV_PASTE] = COMBO_ACTION(paste_combo),
};

void process_combo_event(uint8_t combo_index, bool pressed) {
void process_combo_event(uint16_t combo_index, bool pressed) {
  switch(combo_index) {
    case ZC_COPY:
      if (pressed) {