Updated to use the newest Ranges APIs

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 8 years ago
parent 492c4a2c5a
commit e6543b2011

@ -26,7 +26,7 @@ uint8_t Cycle::cycle_count_;
// --- helpers ---
#define isCycle(k) (k.raw == KaleidoscopePlugins::Ranges::CYCLE)
#define isCycle(k) (k.raw == kaleidoscope::ranges::CYCLE)
// --- api ---

@ -21,7 +21,7 @@
#include <Kaleidoscope.h>
#include <Kaleidoscope-Ranges.h>
#define Key_Cycle ((Key) { .raw = KaleidoscopePlugins::Ranges::CYCLE })
#define Key_Cycle ((Key) { .raw = kaleidoscope::ranges::CYCLE })
#define cycleThrough(...) ({ \
static const Key __k[] PROGMEM = { __VA_ARGS__ }; \

Loading…
Cancel
Save