Declaring LayerCount as a weak symbol in layers.cpp lets us override it if the CREATE_KEYMAP macro is used to define the keymap in the sketch file, but still allows old sketch files to compile without errors. Still some changes necessary to allow old sketches to work properly (Layer.on() will abort before doing anything).pull/244/head
parent
de39e20d78
commit
2784d0e9a9
Loading…
Reference in new issue