[Docs] Fix function signature (layer_state_set_*) (#5313)

`void uint32_t` is not a return type.
master
lf 2019-03-05 00:08:09 -06:00 committed by Drashna Jaelre
parent a8a9a2066e
commit 4c62c7bd6e
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ uint32_t layer_state_set_user(uint32_t state) {
``` ```
### `layer_state_set_*` Function Documentation ### `layer_state_set_*` Function Documentation
* Keyboard/Revision: `void uint32_t layer_state_set_kb(uint32_t state)` * Keyboard/Revision: `uint32_t layer_state_set_kb(uint32_t state)`
* Keymap: `uint32_t layer_state_set_user(uint32_t state)` * Keymap: `uint32_t layer_state_set_user(uint32_t state)`
The `state` is the bitmask of the active layers, as explained in the [Keymap Overview](keymap.md#keymap-layer-status) The `state` is the bitmask of the active layers, as explained in the [Keymap Overview](keymap.md#keymap-layer-status)