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; return true;
} }
bool LEDPaletteTheme::themeFocusHandlerLayerwise(const char *command, bool LEDPaletteTheme::themeLayerFocusHandler(const char *command, const char *expected_command,
const char *expected_command, uint16_t theme_base, uint8_t max_themes) {
uint16_t theme_base,
uint8_t max_themes) {
if (strcmp_P(command, expected_command) != 0) if (strcmp_P(command, expected_command) != 0)
return false; return false;

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

Loading…
Cancel
Save