Merge pull request #361 from keyboardio/h/make-layer_count-public

Declare layer_count extern, so that plugins outside of core can use it too
pull/362/head
Jesse Vincent 6 years ago committed by GitHub
commit 1c7f9f6ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,6 +27,7 @@
const Key keymaps[][ROWS][COLS] PROGMEM = { layers }; \
uint8_t layer_count = sizeof(keymaps) / sizeof(*keymaps);
extern uint8_t layer_count;
class Layer_ {
public:

Loading…
Cancel
Save