aboutsummaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorMartin Sandiford <ms@mcdev.com.au>2017-08-15 10:41:21 +0930
committerJack Humbert <jack.humb@gmail.com>2017-08-15 19:51:06 -0400
commit4757140107ba702a75fa36ca379a7b5335ee9d0b (patch)
treec77c58e8fa098650fb8cfdc67a0da2d12db1c6f1 /quantum
parentc6224236682c2ac40ccfe752c57fd3ec4905757f (diff)
downloadfirmware-4757140107ba702a75fa36ca379a7b5335ee9d0b.tar.gz
firmware-4757140107ba702a75fa36ca379a7b5335ee9d0b.tar.bz2
firmware-4757140107ba702a75fa36ca379a7b5335ee9d0b.zip
Wrapped process_leader.c in #ifndef DISABLE_LEADER to allow compilation with DISABLE_LEADER defined.
Diffstat (limited to 'quantum')
-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 473906d65..e0fe47654 100644
--- a/quantum/process_keycode/process_leader.c
+++ b/quantum/process_keycode/process_leader.c
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef DISABLE_LEADER
+
#include "process_leader.h"
__attribute__ ((weak))
@@ -52,3 +54,5 @@ bool process_leader(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
+
+#endif