Skip to content

Commit 5d0c903

Browse files
kosorinzykrah
authored andcommitted
Update ref_functions.md (replaced deprecated RESET) (qmk#17436)
1 parent 973360a commit 5d0c903

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/ref_functions.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,13 @@ To configure the default layer sounds, you would want to define this in your `co
8787

8888
## Resetting the keyboard
8989

90-
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.
90+
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.
9191

92-
And to do so, add `reset_keyboard()` to your function or macro, and this will reset to bootloader.
92+
And to do so, add `soft_reset_keyboard()` to your function or macro.
93+
94+
## Reset to bootloader
95+
96+
To reset to the bootloader use `QK_BOOTLOADER` or `QK_BOOT` keycode or `reset_keyboard()` function.
9397

9498
## Wiping the EEPROM (Persistent Storage)
9599

0 commit comments

Comments
 (0)