Try to name hook function better

pull/389/head
James N. V. Cash 7 years ago
parent 6a5a7166c1
commit 1e4f37c70d

@ -158,10 +158,8 @@ bool LEDPaletteTheme::themeFocusHandler(const char *command, const char *expecte
return true;
}
bool LEDPaletteTheme::themeFocusHandlerLayerwise(const char *command,
const char *expected_command,
uint16_t theme_base,
uint8_t max_themes) {
bool LEDPaletteTheme::themeLayerFocusHandler(const char *command, const char *expected_command,
uint16_t theme_base, uint8_t max_themes) {
if (strcmp_P(command, expected_command) != 0)
return false;

@ -43,10 +43,10 @@ class LEDPaletteTheme : public KaleidoscopePlugin {
static bool themeFocusHandler(const char *command, const char *expected_command,
uint16_t theme_base, uint8_t max_themes);
static bool themeFocusHandlerLayerwise(const char *command,
const char *expected_command,
uint16_t theme_base,
uint8_t max_themes);
static bool themeLayerFocusHandler(const char *command,
const char *expected_command,
uint16_t theme_base,
uint8_t max_themes);
private:
static uint16_t palette_base_;
};

Loading…
Cancel
Save