i2cScan probe adds another ssd1306 subclass new to output logs correctly (#1671)

This commit is contained in:
lewis he 2022-09-03 20:26:49 +08:00 committed by GitHub
parent 70e1a208d5
commit 8fb8212434
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ uint8_t oled_probe(byte addr)
if (r == 0x08 || r == 0x00) {
o_probe = 2; // SH1106
} else if ( r == 0x03 || r == 0x06 || r == 0x07) {
} else if ( r == 0x03 || r == 0x04 || r == 0x06 || r == 0x07) {
o_probe = 1; // SSD1306
}
c++;