summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@klaviyo.com>2019-03-11 23:47:50 -0400
committerDrashna Jaelre <drashna@live.com>2019-03-11 20:47:50 -0700
commite046872a80263df895a759a55e72ed51cfa70ae7 (patch)
treec84fc6e02edc28a6c17b7ecfd9b5054a852a0615 /keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
parentfd43259cbd09dda47087bb45aecf80a77cdc4c58 (diff)
downloadqmk_firmware-e046872a80263df895a759a55e72ed51cfa70ae7.tar.gz
qmk_firmware-e046872a80263df895a759a55e72ed51cfa70ae7.zip
[Keyboard] Satisfaction75 Protoype/Rev1 split, and new VIA features (#5303)
* Add satisfaction75 revision 1 * Update manufacturer * Add tester layout and update rev1 comments * Add ifdef guards for OLED for tester * Add oled disabling rules * Update to save backlight settings and setup for VIA custom config * Add new VIA values to satisfaction75 * Safety guard in clock set mode * Fix mistaken doc edit * Address PR comments * bring the default back to pass travis CI * Address further PR comments
Diffstat (limited to 'keyboards/cannonkeys/satisfaction75/satisfaction_oled.c')
-rw-r--r--keyboards/cannonkeys/satisfaction75/satisfaction_oled.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c b/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
index a92d61c568..4e22587db8 100644
--- a/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
+++ b/keyboards/cannonkeys/satisfaction75/satisfaction_oled.c
@@ -3,6 +3,7 @@
__attribute__ ((weak))
void draw_ui() {
+#ifdef QWIIC_MICRO_OLED_ENABLE
clear_buffer();
last_flush = timer_read();
send_command(DISPLAYON);
@@ -22,6 +23,7 @@ void draw_ui() {
send_command(DISPLAYOFF);
break;
}
+#endif
}
void draw_encoder(int8_t startX, int8_t startY, bool show_legend){