Fix a case where we did not conform to the Style Guide

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 7 years ago
parent d8d4ed7809
commit 9f064411c2

@ -39,8 +39,8 @@ void GhostInTheFirmware::activate(void) {
is_active_ = true;
}
void GhostInTheFirmware::loopHook(bool postClear) {
if (postClear || !is_active_)
void GhostInTheFirmware::loopHook(bool is_post_clear) {
if (is_post_clear || !is_active_)
return;
if (press_timeout_ == 0) {

@ -44,7 +44,7 @@ class GhostInTheFirmware : public KaleidoscopePlugin {
static uint16_t press_timeout_;
static uint16_t delay_timeout_;
static void loopHook(bool postClear);
static void loopHook(bool is_post_clear);
};
}

Loading…
Cancel
Save