Wrapped process_leader.c in #ifndef DISABLE_LEADER to allow compilation with DISABLE_LEADER defined.

This commit is contained in:
Martin Sandiford 2017-08-15 10:41:21 +09:30 committed by Jack Humbert
parent c622423668
commit 4757140107

View file

@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef DISABLE_LEADER
#include "process_leader.h" #include "process_leader.h"
__attribute__ ((weak)) __attribute__ ((weak))
@ -52,3 +54,5 @@ bool process_leader(uint16_t keycode, keyrecord_t *record) {
} }
return true; return true;
} }
#endif