diff options
| author | Drashna Jaelre <drashna@live.com> | 2018-05-15 19:33:53 -0700 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2018-05-15 22:33:53 -0400 |
| commit | a572323f94b533582edab4402867dc994cc8c75f (patch) | |
| tree | 9d2f9e497f6edc149add5c1a0e9525aaf128e54f /quantum/process_keycode/process_leader.c | |
| parent | 323cd357674ebd9ab6ac025ec8e015faeaa751e4 (diff) | |
| download | qmk_firmware-a572323f94b533582edab4402867dc994cc8c75f.tar.gz qmk_firmware-a572323f94b533582edab4402867dc994cc8c75f.zip | |
Add default to LEADER_TIMEOUT in case it's not defined (#2818)
* Add default to LEADER_TIMEOUT in case it's not defined
* Update Leader Timeout default
Diffstat (limited to 'quantum/process_keycode/process_leader.c')
| -rw-r--r-- | quantum/process_keycode/process_leader.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_leader.c b/quantum/process_keycode/process_leader.c index e0fe47654..c87ef115a 100644 --- a/quantum/process_keycode/process_leader.c +++ b/quantum/process_keycode/process_leader.c | |||
| @@ -18,6 +18,10 @@ | |||
| 18 | 18 | ||
| 19 | #include "process_leader.h" | 19 | #include "process_leader.h" |
| 20 | 20 | ||
| 21 | #ifndef LEADER_TIMEOUT | ||
| 22 | #define LEADER_TIMEOUT 300 | ||
| 23 | #endif | ||
| 24 | |||
| 21 | __attribute__ ((weak)) | 25 | __attribute__ ((weak)) |
| 22 | void leader_start(void) {} | 26 | void leader_start(void) {} |
| 23 | 27 | ||
