From c91db9c56515e76f959aeed44b7d497389ce7e27 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 4 Jun 2017 00:18:14 -0700 Subject: [PATCH] Fixes to make cpplint happy --- examples/TopsyTurvy/TopsyTurvy.ino | 3 +-- src/Kaleidoscope/TopsyTurvy.cpp | 2 +- src/Kaleidoscope/TopsyTurvy.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/TopsyTurvy/TopsyTurvy.ino b/examples/TopsyTurvy/TopsyTurvy.ino index 5ce9e43d..24b378b6 100644 --- a/examples/TopsyTurvy/TopsyTurvy.ino +++ b/examples/TopsyTurvy/TopsyTurvy.ino @@ -36,8 +36,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { Key_skip, Key_N, Key_M, Key_Comma, Key_Period, Key_Slash, Key_Minus, Key_RightShift, Key_RightAlt, Key_Spacebar, Key_RightControl, - Key_skip - ), + Key_skip), }; static const Key topsyTurvyList[] PROGMEM = { diff --git a/src/Kaleidoscope/TopsyTurvy.cpp b/src/Kaleidoscope/TopsyTurvy.cpp index cde9f170..bd7f7dd0 100644 --- a/src/Kaleidoscope/TopsyTurvy.cpp +++ b/src/Kaleidoscope/TopsyTurvy.cpp @@ -90,6 +90,6 @@ TopsyTurvy::eventHandlerHook(Key mappedKey, byte row, byte col, uint8_t keyState return Key_NoKey; } -} // namespace KaleidoscopePlugins +} // namespace KaleidoscopePlugins KaleidoscopePlugins::TopsyTurvy TopsyTurvy; diff --git a/src/Kaleidoscope/TopsyTurvy.h b/src/Kaleidoscope/TopsyTurvy.h index 54346c85..46baca0c 100644 --- a/src/Kaleidoscope/TopsyTurvy.h +++ b/src/Kaleidoscope/TopsyTurvy.h @@ -35,6 +35,6 @@ class TopsyTurvy: public KaleidoscopePlugin { static Key eventHandlerHook(Key mappedKey, byte row, byte col, uint8_t keyState); }; -} // namespace KaleidoscopePlugins +} // namespace KaleidoscopePlugins extern KaleidoscopePlugins::TopsyTurvy TopsyTurvy;