summaryrefslogtreecommitdiff
path: root/keyboards/helix/ssd1306.c
diff options
context:
space:
mode:
authorMakotoKurauchi <pluis@me.com>2018-06-22 02:44:33 +0900
committerDrashna Jaelre <drashna@live.com>2018-06-21 10:44:33 -0700
commit0f3a73025cc9213fe4c7727518402f533dcfd288 (patch)
tree1880dd32ff0657aab1fd237864e2f81835ab9546 /keyboards/helix/ssd1306.c
parentf5109c93dd415e7f9099577505eb7499bf643e5d (diff)
Fix Helix i2c wrong bit rate (#3207)
Diffstat (limited to 'keyboards/helix/ssd1306.c')
-rw-r--r--keyboards/helix/ssd1306.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/helix/ssd1306.c b/keyboards/helix/ssd1306.c
index b13060ef73..b3e55a67c2 100644
--- a/keyboards/helix/ssd1306.c
+++ b/keyboards/helix/ssd1306.c
@@ -127,6 +127,7 @@ static int8_t capture_sendchar(uint8_t c) {
bool iota_gfx_init(bool rotate) {
bool success = false;
+ i2c_master_init();
send_cmd1(DisplayOff);
send_cmd2(SetDisplayClockDiv, 0x80);
send_cmd2(SetMultiPlex, DisplayHeight - 1);