Fix issues found by the linter.

pull/389/head
Jesse Vincent 8 years ago
parent ad09f54c0d
commit 1d8c3040f1
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -18,7 +18,7 @@
#include <Kaleidoscope-TapDance.h> #include <Kaleidoscope-TapDance.h>
using namespace KaleidoscopePlugins::Ranges; using KaleidoscopePlugins::Ranges;
namespace KaleidoscopePlugins { namespace KaleidoscopePlugins {
// --- state --- // --- state ---
@ -222,7 +222,7 @@ TapDance::loopHook (bool postClear) {
if (endTime && millis () > endTime) if (endTime && millis () > endTime)
timeout(); timeout();
} }
}; } // namespace KaleidoscopePlugins
__attribute__((weak)) __attribute__((weak))
void void

@ -42,7 +42,7 @@ class TapDance : public KaleidoscopePlugin {
TapDance (void); TapDance (void);
virtual void begin (void) final; void begin (void) final;
static uint16_t timeOut; static uint16_t timeOut;
void actionKeys (uint8_t tapCount, ActionType tapDanceAction, uint8_t maxKeys, const Key tapKeys[]); void actionKeys (uint8_t tapCount, ActionType tapDanceAction, uint8_t maxKeys, const Key tapKeys[]);
@ -64,8 +64,8 @@ class TapDance : public KaleidoscopePlugin {
static void interrupt (void); static void interrupt (void);
static void timeout (void); static void timeout (void);
static Key release (uint8_t tapDanceIndex); static Key release (uint8_t tapDanceIndex);
}; }
}; } // namespace KaleidoscopePlugins
void tapDanceAction (uint8_t tapDanceIndex, byte row, byte col, uint8_t tapCount, KaleidoscopePlugins::TapDance::ActionType tapDanceAction); void tapDanceAction (uint8_t tapDanceIndex, byte row, byte col, uint8_t tapCount, KaleidoscopePlugins::TapDance::ActionType tapDanceAction);

Loading…
Cancel
Save