]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/quantum.h
OLED Driver Feature
[qmk_firmware.git] / quantum / quantum.h
index f7b278cefd7d480e7fe33ac9bc92f81e6ec6da09..987516dedbd6934d1695e1284a3f52cf0d4e5640 100644 (file)
@@ -139,6 +139,10 @@ extern uint32_t default_layer_state;
     #include "haptic.h"
 #endif
 
+#ifdef OLED_DRIVER_ENABLE
+    #include "oled_driver.h"
+#endif
+
 //Function substitutions to ease GPIO manipulation
 #ifdef __AVR__
     #define PIN_ADDRESS(p, offset) _SFR_IO8(ADDRESS_BASE + (p >> PORT_SHIFTER) + offset)
@@ -206,7 +210,7 @@ extern uint32_t default_layer_state;
 
 #define SEND_STRING(str) send_string_P(PSTR(str))
 extern const bool ascii_to_shift_lut[0x80];
-extern const bool ascii_to_alt_lut[0x80];
+extern const bool ascii_to_altgr_lut[0x80];
 extern const uint8_t ascii_to_keycode_lut[0x80];
 void send_string(const char *str);
 void send_string_with_delay(const char *str, uint8_t interval);