summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build_test.mk1
-rw-r--r--quantum/keyboard.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/build_test.mk b/build_test.mk
index 8f1ff1e849..6e4494d77f 100644
--- a/build_test.mk
+++ b/build_test.mk
@@ -55,6 +55,7 @@ endif
include common_features.mk
include $(BUILDDEFS_PATH)/generic_features.mk
include $(TMK_PATH)/common.mk
+include $(TMK_PATH)/protocol.mk
include $(QUANTUM_PATH)/debounce/tests/rules.mk
include $(QUANTUM_PATH)/sequencer/tests/rules.mk
include $(TMK_PATH)/common/test/rules.mk
diff --git a/quantum/keyboard.c b/quantum/keyboard.c
index 806e4ef7e8..3bca05aab7 100644
--- a/quantum/keyboard.c
+++ b/quantum/keyboard.c
@@ -97,6 +97,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef VIRTSER_ENABLE
# include "virtser.h"
#endif
+#ifdef SLEEP_LED_ENABLE
+# include "sleep_led.h"
+#endif
static uint32_t last_input_modification_time = 0;
uint32_t last_input_activity_time(void) { return last_input_modification_time; }