Browse Source

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

pull/1506/merge 0.5.101
Martin Sandiford 6 years ago
committed by Jack Humbert
parent
commit
4757140107
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      quantum/process_keycode/process_leader.c

+ 4
- 0
quantum/process_keycode/process_leader.c View 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

Loading…
Cancel
Save