summaryrefslogtreecommitdiff
path: root/docs/ref_functions.md
diff options
context:
space:
mode:
authorDavid Kosorin <david@kosorin.net>2022-06-23 03:26:08 +0200
committerGitHub <noreply@github.com>2022-06-23 02:26:08 +0100
commit71472a169240868bcf76d4d6c242519782b5cc5b (patch)
tree18352b36c6ea6ed3b13487a1915b645fcedba094 /docs/ref_functions.md
parentaaaf3ff66a82757f73e80a1bb67ebaacc4a7dfa6 (diff)
Update ref_functions.md (replaced deprecated `RESET`) (#17436)
Diffstat (limited to 'docs/ref_functions.md')
-rw-r--r--docs/ref_functions.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/ref_functions.md b/docs/ref_functions.md
index a25c326b43..c375ecd057 100644
--- a/docs/ref_functions.md
+++ b/docs/ref_functions.md
@@ -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)