summaryrefslogtreecommitdiff
path: root/keyboards/avalanche/v4/v4.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/avalanche/v4/v4.c')
-rw-r--r--keyboards/avalanche/v4/v4.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/avalanche/v4/v4.c b/keyboards/avalanche/v4/v4.c
new file mode 100644
index 0000000000..69c64fc53c
--- /dev/null
+++ b/keyboards/avalanche/v4/v4.c
@@ -0,0 +1,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