aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Don Smith <locksmithdon@gmail.com>2016-07-24 19:18:22 +1200
committerGravatar GitHub <noreply@github.com>2016-07-24 19:18:22 +1200
commita4034b75c0f8ae9fd2e1001888fe07983f329597 (patch)
tree274ea1c8be3f94fd870f7bb102b4b85e4e66ea31
parent8e1d96983aad19b3e4e72ece5db822e92d91342b (diff)
downloadqmk_firmware-a4034b75c0f8ae9fd2e1001888fe07983f329597.tar.gz
Added LEADER_EXTERNS() call.
This seems to be needed in most cases.
-rw-r--r--readme.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index ed3da43bd..1a0e256b3 100644
--- a/readme.md
+++ b/readme.md
@@ -346,6 +346,8 @@ That's what `KC_LEAD` does. Here's an example:
3. Within your `matrix_scan_user` function, do something like this:
```
+LEADER_EXTERNS();
+
void matrix_scan_user(void) {
LEADER_DICTIONARY() {
leading = false;