diff --git a/src/main.cpp b/src/main.cpp index abc0dbe..8776846 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,7 +49,7 @@ const size_t bottom_skip = 25; const size_t top_skip = 50; -const size_t width = 12; +const size_t width = 10; const size_t height = bottom_skip + kb_resolution + top_skip; @@ -94,7 +94,7 @@ int main(int argc, char *argv[]) { hid_buf[0] = CMD_ANIM_DATA_fft; for (size_t i = 0; i < 10; i++) { // Get height from fft, apply bottom_skip - ssize_t h = fft.get_output()[i + 1] - bottom_skip; + ssize_t h = fft.get_output()[i] - bottom_skip; // Enforce max and min // max implicitly enforces top_skip