Skip to content

Commit

Permalink
Update ref_functions.md (replaced deprecated RESET) (qmk#17436)
Browse files Browse the repository at this point in the history
  • Loading branch information
kosorin authored and schattenbrot committed Aug 2, 2022
1 parent fef5590 commit d75aecf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/ref_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,13 @@ To configure the default layer sounds, you would want to define this in your `co

## Resetting the keyboard

There is the `RESET` quantum keycode that you can use. But if you want to reset the board as part of a macro, rather than hitting a key separately, you can do that.
There is the `QK_REBOOT` or `QK_RBT` quantum keycode that you can use. But if you want to reset the board as part of a macro, rather than hitting a key separately, you can do that.

And to do so, add `reset_keyboard()` to your function or macro, and this will reset to bootloader.
And to do so, add `soft_reset_keyboard()` to your function or macro.

## Reset to bootloader

To reset to the bootloader use `QK_BOOTLOADER` or `QK_BOOT` keycode or `reset_keyboard()` function.

## Wiping the EEPROM (Persistent Storage)

Expand Down

0 comments on commit d75aecf

Please sign in to comment.