From 46fc7ca7a40e1221f00d4b9c3a1d6f8672985584 Mon Sep 17 00:00:00 2001 From: Florian Fleissner Date: Thu, 5 Dec 2019 14:27:02 +0100 Subject: [PATCH] Removed an unused and unavailable class member Signed-off-by: Florian Fleissner --- src/kaleidoscope/plugin/Heatmap.cpp | 3 +-- src/kaleidoscope/plugin/Heatmap.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/kaleidoscope/plugin/Heatmap.cpp b/src/kaleidoscope/plugin/Heatmap.cpp index 755c44bf..1fcf070e 100644 --- a/src/kaleidoscope/plugin/Heatmap.cpp +++ b/src/kaleidoscope/plugin/Heatmap.cpp @@ -33,8 +33,7 @@ uint8_t Heatmap::heat_colors_length = 4; uint16_t Heatmap::update_delay = 1000; Heatmap::TransientLEDMode::TransientLEDMode(const Heatmap *parent) - : parent_(parent), - // store the number of times each key has been strock + : // store the number of times each key has been strock heatmap_{}, // max of heatmap_ (we divide by it so we start at 1) highest_(1), diff --git a/src/kaleidoscope/plugin/Heatmap.h b/src/kaleidoscope/plugin/Heatmap.h index 99736e1b..ce8d4f27 100644 --- a/src/kaleidoscope/plugin/Heatmap.h +++ b/src/kaleidoscope/plugin/Heatmap.h @@ -57,8 +57,6 @@ class Heatmap : public Plugin, private: - const Heatmap *parent_; - uint16_t heatmap_[Kaleidoscope.device().numKeys()]; uint16_t highest_; uint16_t last_heatmap_comp_time_;