Deprecate Kaleidoscope.setup(keymap_count)

We do not use `keymap_count` anymore, so deprecate this variant of the setup
function, with a message that also tells the user that `KEYMAP_SIZE` is
deprecated too.

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
pull/195/head
Gergely Nagy 7 years ago
parent 646a9d65f9
commit 1025957eaa

@ -46,7 +46,8 @@ class Kaleidoscope_ {
public: public:
Kaleidoscope_(void); Kaleidoscope_(void);
void setup(const byte keymap_count) { void setup(const byte keymap_count)
__attribute__((deprecated("The keymap_count argument (and the KEYMAP_SIZE macro) are unused, and can be safely removed."))) {
setup(); setup();
} }
void setup(void); void setup(void);

Loading…
Cancel
Save