From 3c144fac5e2b634166f6b9cc0fc45029d63d3398 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 20 Mar 2023 08:12:05 +1100 Subject: Clean up usage of `QMK_KEYBOARD_H` (#20167) --- keyboards/rubi/lib/oled.c | 4 ++-- keyboards/rubi/lib/oled.h | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'keyboards/rubi') 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 . */ -#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 . #pragma once +#include +#include +#include "progmem.h" + #define OLED_FRAME_TIMEOUT (1000 / 30) // 30 fps #define OLED_LOGO_TIMEOUT 3000 // 3 sec -- cgit v1.2.3