master
Mark 2022-06-26 12:47:43 -07:00
parent 267a8a2ad6
commit 5ea64d3e07
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 5 additions and 2 deletions

View File

@ -51,6 +51,9 @@ Ergodox& Ergodox::init(
return Instance; return Instance;
} }
// Instance is a static function variable,
// and will be deleted at end of program.
Ergodox::~Ergodox() { Ergodox::~Ergodox() {
close(); close();
hid_exit(); hid_exit();

View File

@ -43,9 +43,9 @@ class FFT_Visualizer {
// Visualizer parameters // Visualizer parameters
/// ///
// How many bars this visualizer will generate // Horizontal resolution
const size_t width; const size_t width;
// Resolution of this visualizer's bars. // Vertical resolution
const size_t height; const size_t height;
// Leftmost frequency in spectrum // Leftmost frequency in spectrum
const double HZ_MIN; const double HZ_MIN;