aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_leader.c
diff options
context:
space:
mode:
authorGravatar Drashna Jaelre <drashna@live.com>2018-05-15 19:33:53 -0700
committerGravatar Jack Humbert <jack.humb@gmail.com>2018-05-15 22:33:53 -0400
commita572323f94b533582edab4402867dc994cc8c75f (patch)
tree9d2f9e497f6edc149add5c1a0e9525aaf128e54f /quantum/process_keycode/process_leader.c
parent323cd357674ebd9ab6ac025ec8e015faeaa751e4 (diff)
downloadqmk_firmware-a572323f94b533582edab4402867dc994cc8c75f.tar.gz
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.c4
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 @@
#include "process_leader.h"
+#ifndef LEADER_TIMEOUT
+ #define LEADER_TIMEOUT 300
+#endif
+
__attribute__ ((weak))
void leader_start(void) {}