diff --git a/src/ergodox.cpp b/src/ergodox.cpp index fe2e094..8f14cb9 100644 --- a/src/ergodox.cpp +++ b/src/ergodox.cpp @@ -51,6 +51,9 @@ Ergodox& Ergodox::init( return Instance; } + +// Instance is a static function variable, +// and will be deleted at end of program. Ergodox::~Ergodox() { close(); hid_exit(); diff --git a/src/signal_processing/fft.hpp b/src/signal_processing/fft.hpp index 738f7ec..b51e8c0 100644 --- a/src/signal_processing/fft.hpp +++ b/src/signal_processing/fft.hpp @@ -43,9 +43,9 @@ class FFT_Visualizer { // Visualizer parameters /// - // How many bars this visualizer will generate + // Horizontal resolution const size_t width; - // Resolution of this visualizer's bars. + // Vertical resolution const size_t height; // Leftmost frequency in spectrum const double HZ_MIN;