]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Wrapped process_leader.c in #ifndef DISABLE_LEADER to allow compilation with DISABLE_...
authorMartin Sandiford <ms@mcdev.com.au>
Tue, 15 Aug 2017 01:11:21 +0000 (10:41 +0930)
committerJack Humbert <jack.humb@gmail.com>
Tue, 15 Aug 2017 23:51:06 +0000 (19:51 -0400)
quantum/process_keycode/process_leader.c

index 473906d65784c4a92e61e4f09938d36992e3a254..e0fe4765483e5971ffd137b9766b4dc0e0b003b5 100644 (file)
@@ -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