summaryrefslogtreecommitdiff
path: root/keyboards/avalanche/v4/v4.c
blob: 69c64fc53c2c96b26e89749d082aa1d1ecccba36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2022 Vitaly Volkov (@vlkv)
// SPDX-License-Identifier: GPL-2.0-or-later

#include "avalanche.h"

#ifdef OLED_ENABLE
oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
    return OLED_ROTATION_180;
}

bool oled_task_kb(void) {
    if (!oled_task_user()) {
        return false;
    }
    oled_write_P(PSTR("Avalanche\nVersion 4"), false);
    return true;
}
#endif