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/galaxy.c | |
parent | 87cace28a62a9a7e156ca03201488a46915cf8ec (diff) |
Refactor entire Handwired K552 keyboard (#18066)
Diffstat (limited to 'keyboards/horrortroll/handwired_k552/lib/galaxy.c')
-rw-r--r-- | keyboards/horrortroll/handwired_k552/lib/galaxy.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/horrortroll/handwired_k552/lib/galaxy.c b/keyboards/horrortroll/handwired_k552/lib/galaxy.c index 5cc340dded..04885b8085 100644 --- a/keyboards/horrortroll/handwired_k552/lib/galaxy.c +++ b/keyboards/horrortroll/handwired_k552/lib/galaxy.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,9 +14,11 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "quantum.h" + # define ANIM_SIZE 636 // number of bytes in array, minimize for adequate firmware size, max is 1024 -static void render_galaxy(void) { +void render_galaxy(void) { static const char PROGMEM galaxy[][ANIM_SIZE] = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x80, 0xc8, 0xe8, 0x49, 0x72, |