summaryrefslogtreecommitdiff
path: root/keyboards/rubi
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-20 08:12:05 +1100
committerGitHub <noreply@github.com>2023-03-20 08:12:05 +1100
commit3c144fac5e2b634166f6b9cc0fc45029d63d3398 (patch)
treec3e408ca9fa27721c19f4fc0ba8b4119798e5dd2 /keyboards/rubi
parent9d302f9b7fa7fc88766de322a52d1a1be38e723c (diff)
Clean up usage of `QMK_KEYBOARD_H` (#20167)
Diffstat (limited to 'keyboards/rubi')
-rw-r--r--keyboards/rubi/lib/oled.c4
-rw-r--r--keyboards/rubi/lib/oled.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/rubi/lib/oled.c b/keyboards/rubi/lib/oled.c
index 9534cdd9b7..9297cddf0e 100644
--- a/keyboards/rubi/lib/oled.c
+++ b/keyboards/rubi/lib/oled.c
@@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include QMK_KEYBOARD_H
-#include "./lib/oled.h"
+#include "oled.h"
+#include "rubi.h"
bool process_record_user_oled(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
diff --git a/keyboards/rubi/lib/oled.h b/keyboards/rubi/lib/oled.h
index 1737541c96..8af48c667b 100644
--- a/keyboards/rubi/lib/oled.h
+++ b/keyboards/rubi/lib/oled.h
@@ -17,6 +17,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
+#include <stdbool.h>
+#include <stdint.h>
+#include "progmem.h"
+
#define OLED_FRAME_TIMEOUT (1000 / 30) // 30 fps
#define OLED_LOGO_TIMEOUT 3000 // 3 sec