diff options
author | HorrorTroll <sonicvipduc@gmail.com> | 2022-12-30 08:04:01 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 12:04:01 +1100 |
commit | 724aa3a4b256ccb058e4ef86c882167635d6815d (patch) | |
tree | e3c13a9e983fff434fa7919973c2e0708bd9dae4 /keyboards/horrortroll/handwired_k552/lib/bongocat.c | |
parent | 87cace28a62a9a7e156ca03201488a46915cf8ec (diff) |
Refactor entire Handwired K552 keyboard (#18066)
Diffstat (limited to 'keyboards/horrortroll/handwired_k552/lib/bongocat.c')
-rw-r--r-- | keyboards/horrortroll/handwired_k552/lib/bongocat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/horrortroll/handwired_k552/lib/bongocat.c b/keyboards/horrortroll/handwired_k552/lib/bongocat.c index fbde9c911a..6510223b22 100644 --- a/keyboards/horrortroll/handwired_k552/lib/bongocat.c +++ b/keyboards/horrortroll/handwired_k552/lib/bongocat.c @@ -1,4 +1,4 @@ -/* Copyright 2021 HorrorTroll <https://github.com/HorrorTroll> +/* Copyright 2022 HorrorTroll <https://github.com/HorrorTroll> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -14,6 +14,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "quantum.h" + // WPM-responsive animation stuff here # define IDLE_FRAMES 5 # define IDLE_SPEED 10 // below this wpm value your animation will idle @@ -43,7 +45,7 @@ uint8_t current_tap_frame = 0; // follow this guide up to and including "CONVERT YOUR IMAGE" https://docs.splitkb.com/hc/en-us/articles/360013811280-How-do-I-convert-an-image-for-use-on-an-OLED-display- // replace numbers in brackets with your own // if you start getting errors when compiling make sure you didn't accedentally delete a bracket -static void render_bongocat(void) { +void render_bongocat(void) { static const char PROGMEM idle[IDLE_FRAMES][ANIM_SIZE] = { { //Idle 1 - 128x32 |