summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/keymaps/lvgl/halconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/keymaps/lvgl/halconf.h')
-rw-r--r--keyboards/handwired/onekey/keymaps/lvgl/halconf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/keymaps/lvgl/halconf.h b/keyboards/handwired/onekey/keymaps/lvgl/halconf.h
new file mode 100644
index 0000000000..27646bb3f5
--- /dev/null
+++ b/keyboards/handwired/onekey/keymaps/lvgl/halconf.h
@@ -0,0 +1,12 @@
+// Copyright 2022 Jose Pablo Ramirez (@jpe230)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include_next <halconf.h>
+
+#undef HAL_USE_SPI
+#define HAL_USE_SPI TRUE
+
+#undef SPI_USE_WAIT
+#define SPI_USE_WAIT TRUE