From fbb5dcb3594166fce126c0631dc0f7653adbb62d Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Tue, 7 Mar 2017 12:45:48 +0100 Subject: [PATCH] Fix the example to not use obsolete functions Signed-off-by: Gergely Nagy --- examples/OneShot/OneShot.ino | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/OneShot/OneShot.ino b/examples/OneShot/OneShot.ino index 3cfc3947..473adb8f 100644 --- a/examples/OneShot/OneShot.ino +++ b/examples/OneShot/OneShot.ino @@ -61,10 +61,9 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { }; void setup () { - OneShot.enableAuto (); + Kaleidoscope.setup (); - Kaleidoscope.use (&OneShot, NULL); - Kaleidoscope.setup (KEYMAP_SIZE); + USE_PLUGINS (&OneShot); } void loop () {