Skip to content

Commit

Permalink
Wrapped process_leader.c in #ifndef DISABLE_LEADER to allow compilati…
Browse files Browse the repository at this point in the history
…on with DISABLE_LEADER defined.
  • Loading branch information
msandiford authored and jackhumbert committed Aug 15, 2017
1 parent c622423 commit 4757140
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions quantum/process_keycode/process_leader.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -52,3 +54,5 @@ bool process_leader(uint16_t keycode, keyrecord_t *record) {
}
return true;
}

#endif

0 comments on commit 4757140

Please sign in to comment.