From 317b800bbb28c5ae91f413cfd17471a06de76c2f Mon Sep 17 00:00:00 2001 From: Rocco Meli Date: Sun, 13 Nov 2022 02:00:13 +0100 Subject: [Keymap] Update/refactor userspace and add keymaps for rmeli (#18398) Co-authored-by: Drashna Jaelre Co-authored-by: Ryan Co-authored-by: Elliot Powell --- users/rmeli/oled/oled.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users/rmeli/oled') diff --git a/users/rmeli/oled/oled.c b/users/rmeli/oled/oled.c index d6d4b2c43c..27c1e9c600 100644 --- a/users/rmeli/oled/oled.c +++ b/users/rmeli/oled/oled.c @@ -18,6 +18,7 @@ along with this program. If not, see . #include "oled/oled.h" void oled_render_rocco(void) { + // clang-format off static const char PROGMEM rocco[] = { // 'rocco', 128x32px 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xf8, 0xf8, 0xf8, 0x18, @@ -53,10 +54,13 @@ void oled_render_rocco(void) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x07, 0x0f, 0x0e, 0x1c, 0x1c, 0x18, 0x18, 0x18, 0x18, 0x18, 0x1c, 0x0e, 0x0f, 0x07, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; + // clang-format on + oled_write_raw_P(rocco, sizeof(rocco)); } void oled_render_meli(void) { + // clang-format off static const char PROGMEM meli[] = { // 'meli', 128x32px 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -92,5 +96,7 @@ void oled_render_meli(void) { 0x18, 0x1f, 0x1f, 0x1f, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; + // clang-format on + oled_write_raw_P(meli, sizeof(meli)); } -- cgit v1.2.3