README.md: Minor style adjustment

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

@ -32,9 +32,10 @@ register the `Focus` hooks, and it will do the rest.
#include <Kaleidoscope-Focus.h> #include <Kaleidoscope-Focus.h>
void setup(void) { void setup(void) {
Kaleidoscope.setup();
USE_PLUGINS(&ColormapEffect, &Focus); USE_PLUGINS(&ColormapEffect, &Focus);
Kaleidoscope.setup();
ColormapEffect.max_layers(1); ColormapEffect.max_layers(1);
Focus.addHook(FOCUS_HOOK_LEDPALETTETHEME); Focus.addHook(FOCUS_HOOK_LEDPALETTETHEME);
Focus.addHook(FOCUS_HOOK_COLORMAP); Focus.addHook(FOCUS_HOOK_COLORMAP);

Loading…
Cancel
Save