aboutsummaryrefslogtreecommitdiff
path: root/keyboards/lily58/keymaps/domnantas/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lily58/keymaps/domnantas/keymap.c')
-rw-r--r--keyboards/lily58/keymaps/domnantas/keymap.c31
1 files changed, 16 insertions, 15 deletions
diff --git a/keyboards/lily58/keymaps/domnantas/keymap.c b/keyboards/lily58/keymaps/domnantas/keymap.c
index f1b2b2dcd..ef2a89c47 100644
--- a/keyboards/lily58/keymaps/domnantas/keymap.c
+++ b/keyboards/lily58/keymaps/domnantas/keymap.c
@@ -1,18 +1,18 @@
1 /* Copyright 2020 Domantas Petrauskas 1 /* Copyright 2020 Domantas Petrauskas
2 * 2 *
3 * This program is free software: you can redistribute it and/or modify 3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by 4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or 5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version. 6 * (at your option) any later version.
7 * 7 *
8 * This program is distributed in the hope that it will be useful, 8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details. 11 * GNU General Public License for more details.
12 * 12 *
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include QMK_KEYBOARD_H 17#include QMK_KEYBOARD_H
18#include <stdio.h> 18#include <stdio.h>
@@ -275,10 +275,11 @@ static void render_status(void) {
275 oled_write_ln_P(PSTR("caps"), led_state.caps_lock); 275 oled_write_ln_P(PSTR("caps"), led_state.caps_lock);
276} 276}
277 277
278void oled_task_user(void) { 278bool oled_task_user(void) {
279 if (is_keyboard_left()) { 279 if (is_keyboard_left()) {
280 render_status(); 280 render_status();
281 } else { 281 } else {
282 render_bongo_cat(); 282 render_bongo_cat();
283 } 283 }
284 return false;
284} 285}