mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-02 18:59:56 +00:00
Merge pull request #1353 from meshtastic/patch-1
Add second scancode for SH1106
This commit is contained in:
commit
6c2d45d866
@ -15,7 +15,7 @@ uint8_t oled_probe(byte addr)
|
||||
r = Wire.read();
|
||||
}
|
||||
r &= 0x0f;
|
||||
if (r == 0x08) {
|
||||
if (r == 0x08 || r == 0x00) {
|
||||
o_probe = 2; // SH1106
|
||||
} else if ( r == 0x03 || r == 0x06 || r == 0x07) {
|
||||
o_probe = 1; // SSD1306
|
||||
|
Loading…
Reference in New Issue
Block a user