From 9db5036a5cca460320d5a21459a32fc9a15c58b9 Mon Sep 17 00:00:00 2001 From: Michael Richters Date: Sun, 12 Nov 2017 00:05:39 -0600 Subject: [PATCH] Make `LayerCount` available in layers.cpp --- src/layers.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layers.h b/src/layers.h index 4b0ae236..d3f3b994 100644 --- a/src/layers.h +++ b/src/layers.h @@ -4,6 +4,9 @@ #include "key_defs.h" #include KALEIDOSCOPE_HARDWARE_H +// The total number of defined layers in the firmware sketch keymaps[] array +extern const uint8_t LayerCount; + class Layer_ { public: Layer_(void);