Minor changes

master
Mark 2022-07-17 20:33:06 -07:00
parent 242913a642
commit 37d5d7ac3d
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 10 additions and 1 deletions

View File

@ -73,3 +73,13 @@ flash:
-e BUILD_DIR=$(BUILD_DIR) \ -e BUILD_DIR=$(BUILD_DIR) \
-kb betalupi_ergodox \ -kb betalupi_ergodox \
-km default -km default
# Compile and flash a keyboard
.PHONY: comp-db
comp-db:
@source $(VENV)/bin/activate && \
$(QMK) generate-compilation-database \
-kb betalupi_ergodox \
-km default

View File

@ -19,7 +19,6 @@ bool FFT_ANIM(effect_params_t* params) {
} }
// Render heatmap & decrease
for (int i = led_min; i < led_max; i++) { for (int i = led_min; i < led_max; i++) {
uint8_t row = i % MATRIX_ROWS; uint8_t row = i % MATRIX_ROWS;
uint8_t col = i / MATRIX_ROWS; uint8_t col = i / MATRIX_ROWS;