Merge pull request #1 from Alnef/Alnef-patch-ssd1306

Fix contrast and display mode initialisation
This commit is contained in:
Alnef 2021-04-10 14:59:58 +02:00 committed by GitHub
commit 94c4800f66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,8 +126,8 @@ void ssd1306_init(void)
orientation_1, orientation_1,
orientation_2, orientation_2,
OLED_CMD_SET_CONTRAST, OLED_CMD_SET_CONTRAST,
display_mode,
0xFF, 0xFF,
display_mode,
OLED_CMD_DISPLAY_ON OLED_CMD_DISPLAY_ON
}; };