diff options
| author | lf <software@lfcode.ca> | 2019-03-05 00:08:09 -0600 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-03-04 22:08:09 -0800 |
| commit | 4c62c7bd6ed41966467985bc22b6b07350ff3991 (patch) | |
| tree | 5fed72d025ac23406755b4c639fd3b58e89ce743 /docs/custom_quantum_functions.md | |
| parent | a8a9a2066e28895c65ed50fa0e76bc0ed70abbfd (diff) | |
| download | qmk_firmware-4c62c7bd6ed41966467985bc22b6b07350ff3991.tar.gz qmk_firmware-4c62c7bd6ed41966467985bc22b6b07350ff3991.zip | |
[Docs] Fix function signature (layer_state_set_*) (#5313)
`void uint32_t` is not a return type.
Diffstat (limited to 'docs/custom_quantum_functions.md')
| -rw-r--r-- | docs/custom_quantum_functions.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/custom_quantum_functions.md b/docs/custom_quantum_functions.md index cc84e141f..f291fc2d2 100644 --- a/docs/custom_quantum_functions.md +++ b/docs/custom_quantum_functions.md | |||
| @@ -321,7 +321,7 @@ uint32_t layer_state_set_user(uint32_t state) { | |||
| 321 | ``` | 321 | ``` |
| 322 | ### `layer_state_set_*` Function Documentation | 322 | ### `layer_state_set_*` Function Documentation |
| 323 | 323 | ||
| 324 | * Keyboard/Revision: `void uint32_t layer_state_set_kb(uint32_t state)` | 324 | * Keyboard/Revision: `uint32_t layer_state_set_kb(uint32_t state)` |
| 325 | * Keymap: `uint32_t layer_state_set_user(uint32_t state)` | 325 | * Keymap: `uint32_t layer_state_set_user(uint32_t state)` |
| 326 | 326 | ||
| 327 | The `state` is the bitmask of the active layers, as explained in the [Keymap Overview](keymap.md#keymap-layer-status) | 327 | The `state` is the bitmask of the active layers, as explained in the [Keymap Overview](keymap.md#keymap-layer-status) |
