From 274ff5eb7600e71e027e9d6fe28bb77386a16a25 Mon Sep 17 00:00:00 2001 From: Michael Richters Date: Thu, 2 Jun 2022 00:10:08 -0500 Subject: [PATCH] Address spurious cpplint complaints Signed-off-by: Michael Richters --- .../src/kaleidoscope/plugin/DynamicTapDance.h | 2 +- .../src/kaleidoscope/device/ez/ErgoDox.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Kaleidoscope-DynamicTapDance/src/kaleidoscope/plugin/DynamicTapDance.h b/plugins/Kaleidoscope-DynamicTapDance/src/kaleidoscope/plugin/DynamicTapDance.h index 86cc1f4c..f5255788 100644 --- a/plugins/Kaleidoscope-DynamicTapDance/src/kaleidoscope/plugin/DynamicTapDance.h +++ b/plugins/Kaleidoscope-DynamicTapDance/src/kaleidoscope/plugin/DynamicTapDance.h @@ -41,7 +41,7 @@ class DynamicTapDance : public kaleidoscope::Plugin { uint16_t storage_base_; uint16_t storage_size_; static constexpr uint8_t reserved_tap_dance_key_count_ = ranges::TD_LAST - ranges::TD_FIRST + 1; - uint16_t map_[reserved_tap_dance_key_count_]; + uint16_t map_[reserved_tap_dance_key_count_]; // NOLINT(runtime/arrays) uint8_t dance_count_; uint8_t offset_; void updateDynamicTapDanceCache(); diff --git a/plugins/Kaleidoscope-Hardware-EZ-ErgoDox/src/kaleidoscope/device/ez/ErgoDox.h b/plugins/Kaleidoscope-Hardware-EZ-ErgoDox/src/kaleidoscope/device/ez/ErgoDox.h index 692b4bc9..f7532e76 100644 --- a/plugins/Kaleidoscope-Hardware-EZ-ErgoDox/src/kaleidoscope/device/ez/ErgoDox.h +++ b/plugins/Kaleidoscope-Hardware-EZ-ErgoDox/src/kaleidoscope/device/ez/ErgoDox.h @@ -82,8 +82,8 @@ class ErgoDox : public kaleidoscope::device::ATmega32U4Keyboard { private: ErgoDoxScanner scanner_; - uint8_t previousKeyState_[matrix_rows]; - uint8_t keyState_[matrix_rows]; + uint8_t previousKeyState_[matrix_rows]; // NOLINT(runtime/arrays) + uint8_t keyState_[matrix_rows]; // NOLINT(runtime/arrays) uint8_t debounce_matrix_[matrix_rows][matrix_columns]; uint8_t debounceMaskForRow(uint8_t row);