Merge pull request #55 from Alnef/master

Fix contrast and display mode initialisation
This commit is contained in:
Carlos Diaz 2021-05-09 21:33:55 -05:00 committed by GitHub
commit db51c38e63
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
}; };