diff options
author | Jack Sangdahl <[email protected]> | 2025-01-15 13:50:29 -0700 |
---|---|---|
committer | Jack Sangdahl <[email protected]> | 2025-01-15 13:50:29 -0700 |
commit | 5304ab5f84f130b7ff61dd5ad4d91ce9303a7608 (patch) | |
tree | 0fcf879a07db10743d54919e969d8226604cf7c3 /jack/oled.c | |
parent | 42fc0e65c572ff1cb258ec750a45d34ee5ba0049 (diff) | |
download | qmk_me-5304ab5f84f130b7ff61dd5ad4d91ce9303a7608.tar.gz qmk_me-5304ab5f84f130b7ff61dd5ad4d91ce9303a7608.zip |
Various updates across userspace and keymaps
* Add clang-format configuration
* Autocorrect dictionary updates
* Remove RGB Colour implementation
* Tidy combos code
* More space saving techniques
* OLED byte array pretty-ing
* Remove uneeded OLED shutdown code
* Remove and rearrange keyboards/keymaps
* Custom async tap code implementation
* Update license years
* ...and more
Diffstat (limited to 'jack/oled.c')
-rw-r--r-- | jack/oled.c | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/jack/oled.c b/jack/oled.c index 7b975e0..adaad3d 100644 --- a/jack/oled.c +++ b/jack/oled.c @@ -1,10 +1,12 @@ -// Copyright 2024 [email protected] +// Copyright 2025 [email protected] // SPDX-License-Identifier: GPL-2.0-or-later -#include "oled.h" #include "jack.h" +#include "oled.h" uint32_t oled_timer = 0; char keylog_str[KEYLOG_LEN + 1] = {0}; +extern uint8_t oled_buffer[OLED_MATRIX_SIZE]; +extern OLED_BLOCK_TYPE oled_dirty; void oled_timer_reset(void) { oled_timer = timer_read32(); } @@ -220,18 +222,3 @@ void render_scan_rate(void) { oled_write_ln(get_u16_str(get_matrix_scan_rate(), ' '), false); } #endif - -void oled_render_boot(bool jump_to_bootloader) { - oled_clear(); - static const char PROGMEM qmk_logo[16] = {0x80, 0x81, 0x82, 0x83, 0x84, - 0xA0, 0xA1, 0xA2, 0xA3, 0xA4, - 0xC0, 0xC1, 0xC2, 0xC3, 0xC4}; - oled_write(qmk_logo, false); - oled_set_cursor(0, 4); - oled_write(qmk_logo, false); - oled_set_cursor(0, 8); - oled_write(qmk_logo, false); - oled_set_cursor(0, 12); - oled_write(qmk_logo, false); - oled_render_dirty(true); -} |