Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/389/head
Gergely Nagy 6 years ago
parent 196588fdda
commit 54db6d92a9

@ -58,8 +58,8 @@ void ColormapEffect::refreshAt(byte row, byte col) {
EventHandlerResult ColormapEffect::onFocusEvent(const char *command) {
const char *cmd = PSTR("colormap.map");
EventHandlerResult result =
::LEDPaletteTheme.themeFocusEvent(command, cmd,
map_base_, max_layers_);
::LEDPaletteTheme.themeFocusEvent(command, cmd,
map_base_, max_layers_);
if (strcmp_P(command, cmd) == 0)
onActivate();
return result;

Loading…
Cancel
Save