aboutsummaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
Diffstat (limited to 'quantum')
-rw-r--r--quantum/keyboard.c6
-rw-r--r--quantum/quantum.h2
-rw-r--r--quantum/split_common/transaction_id_define.h4
-rw-r--r--quantum/split_common/transactions.c4
-rw-r--r--quantum/split_common/transport.h4
5 files changed, 10 insertions, 10 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c
index 644d8650d..473306c65 100644
--- a/quantum/keyboard.c
+++ b/quantum/keyboard.c
@@ -82,7 +82,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
82#ifdef QWIIC_ENABLE 82#ifdef QWIIC_ENABLE
83# include "qwiic.h" 83# include "qwiic.h"
84#endif 84#endif
85#ifdef OLED_DRIVER_ENABLE 85#ifdef OLED_ENABLE
86# include "oled_driver.h" 86# include "oled_driver.h"
87#endif 87#endif
88#ifdef ST7565_ENABLE 88#ifdef ST7565_ENABLE
@@ -319,7 +319,7 @@ void keyboard_init(void) {
319#ifdef QWIIC_ENABLE 319#ifdef QWIIC_ENABLE
320 qwiic_init(); 320 qwiic_init();
321#endif 321#endif
322#ifdef OLED_DRIVER_ENABLE 322#ifdef OLED_ENABLE
323 oled_init(OLED_ROTATION_0); 323 oled_init(OLED_ROTATION_0);
324#endif 324#endif
325#ifdef ST7565_ENABLE 325#ifdef ST7565_ENABLE
@@ -477,7 +477,7 @@ MATRIX_LOOP_END:
477 qwiic_task(); 477 qwiic_task();
478#endif 478#endif
479 479
480#ifdef OLED_DRIVER_ENABLE 480#ifdef OLED_ENABLE
481 oled_task(); 481 oled_task();
482# ifndef OLED_DISABLE_TIMEOUT 482# ifndef OLED_DISABLE_TIMEOUT
483 // Wake up oled if user is using those fabulous keys or spinning those encoders! 483 // Wake up oled if user is using those fabulous keys or spinning those encoders!
diff --git a/quantum/quantum.h b/quantum/quantum.h
index ffb5e0df4..86b717e44 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -164,7 +164,7 @@ extern layer_state_t layer_state;
164# include "process_haptic.h" 164# include "process_haptic.h"
165#endif 165#endif
166 166
167#ifdef OLED_DRIVER_ENABLE 167#ifdef OLED_ENABLE
168# include "oled_driver.h" 168# include "oled_driver.h"
169#endif 169#endif
170 170
diff --git a/quantum/split_common/transaction_id_define.h b/quantum/split_common/transaction_id_define.h
index 8dd2cd065..535bc21ae 100644
--- a/quantum/split_common/transaction_id_define.h
+++ b/quantum/split_common/transaction_id_define.h
@@ -70,9 +70,9 @@ enum serial_transaction_id {
70 PUT_WPM, 70 PUT_WPM,
71#endif // defined(WPM_ENABLE) && defined(SPLIT_WPM_ENABLE) 71#endif // defined(WPM_ENABLE) && defined(SPLIT_WPM_ENABLE)
72 72
73#if defined(OLED_DRIVER_ENABLE) && defined(SPLIT_OLED_ENABLE) 73#if defined(OLED_ENABLE) && defined(SPLIT_OLED_ENABLE)
74 PUT_OLED, 74 PUT_OLED,
75#endif // defined(OLED_DRIVER_ENABLE) && defined(SPLIT_OLED_ENABLE) 75#endif // defined(OLED_ENABLE) && defined(SPLIT_OLED_ENABLE)
76 76
77#if defined(ST7565_ENABLE) && defined(SPLIT_ST7565_ENABLE) 77#if defined(ST7565_ENABLE) && defined(SPLIT_ST7565_ENABLE)
78 PUT_ST7565, 78 PUT_ST7565,
diff --git a/quantum/split_common/transactions.c b/quantum/split_common/transactions.c
index 28ea4ef6d..fd676f072 100644
--- a/quantum/split_common/transactions.c
+++ b/quantum/split_common/transactions.c
@@ -519,7 +519,7 @@ static void wpm_handlers_slave(matrix_row_t master_matrix[], matrix_row_t slave_
519//////////////////////////////////////////////////// 519////////////////////////////////////////////////////
520// OLED 520// OLED
521 521
522#if defined(OLED_DRIVER_ENABLE) && defined(SPLIT_OLED_ENABLE) 522#if defined(OLED_ENABLE) && defined(SPLIT_OLED_ENABLE)
523 523
524static bool oled_handlers_master(matrix_row_t master_matrix[], matrix_row_t slave_matrix[]) { 524static bool oled_handlers_master(matrix_row_t master_matrix[], matrix_row_t slave_matrix[]) {
525 static uint32_t last_update = 0; 525 static uint32_t last_update = 0;
@@ -539,7 +539,7 @@ static void oled_handlers_slave(matrix_row_t master_matrix[], matrix_row_t slave
539# define TRANSACTIONS_OLED_SLAVE() TRANSACTION_HANDLER_SLAVE(oled) 539# define TRANSACTIONS_OLED_SLAVE() TRANSACTION_HANDLER_SLAVE(oled)
540# define TRANSACTIONS_OLED_REGISTRATIONS [PUT_OLED] = trans_initiator2target_initializer(current_oled_state), 540# define TRANSACTIONS_OLED_REGISTRATIONS [PUT_OLED] = trans_initiator2target_initializer(current_oled_state),
541 541
542#else // defined(OLED_DRIVER_ENABLE) && defined(SPLIT_OLED_ENABLE) 542#else // defined(OLED_ENABLE) && defined(SPLIT_OLED_ENABLE)
543 543
544# define TRANSACTIONS_OLED_MASTER() 544# define TRANSACTIONS_OLED_MASTER()
545# define TRANSACTIONS_OLED_SLAVE() 545# define TRANSACTIONS_OLED_SLAVE()
diff --git a/quantum/split_common/transport.h b/quantum/split_common/transport.h
index f7abb9979..1d4f6ed0c 100644
--- a/quantum/split_common/transport.h
+++ b/quantum/split_common/transport.h
@@ -165,9 +165,9 @@ typedef struct _split_shared_memory_t {
165 uint8_t current_wpm; 165 uint8_t current_wpm;
166#endif // defined(WPM_ENABLE) && defined(SPLIT_WPM_ENABLE) 166#endif // defined(WPM_ENABLE) && defined(SPLIT_WPM_ENABLE)
167 167
168#if defined(OLED_DRIVER_ENABLE) && defined(SPLIT_OLED_ENABLE) 168#if defined(OLED_ENABLE) && defined(SPLIT_OLED_ENABLE)
169 uint8_t current_oled_state; 169 uint8_t current_oled_state;
170#endif // defined(OLED_DRIVER_ENABLE) && defined(SPLIT_OLED_ENABLE) 170#endif // defined(OLED_ENABLE) && defined(SPLIT_OLED_ENABLE)
171 171
172#if defined(ST7565_ENABLE) && defined(SPLIT_ST7565_ENABLE) 172#if defined(ST7565_ENABLE) && defined(SPLIT_ST7565_ENABLE)
173 uint8_t current_st7565_state; 173 uint8_t current_st7565_state;