mirror of
https://github.com/meshtastic/firmware.git
synced 2025-05-05 21:31:47 +00:00
Add second scancode for SH1106
This display is found on the Nano G1
This commit is contained in:
parent
e372306497
commit
92d32f722d
@ -15,7 +15,7 @@ uint8_t oled_probe(byte addr)
|
|||||||
r = Wire.read();
|
r = Wire.read();
|
||||||
}
|
}
|
||||||
r &= 0x0f;
|
r &= 0x0f;
|
||||||
if (r == 0x08) {
|
if (r == 0x08 || r == 0x00) {
|
||||||
o_probe = 2; // SH1106
|
o_probe = 2; // SH1106
|
||||||
} else if ( r == 0x03 || r == 0x06 || r == 0x07) {
|
} else if ( r == 0x03 || r == 0x06 || r == 0x07) {
|
||||||
o_probe = 1; // SSD1306
|
o_probe = 1; // SSD1306
|
||||||
|
Loading…
Reference in New Issue
Block a user