mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-25 22:20:27 +00:00
Add RAK1921 OLED Probe Code (#1339)
This commit is contained in:
parent
9586a2e932
commit
0e3ac246b5
@ -17,7 +17,7 @@ uint8_t oled_probe(byte addr)
|
|||||||
r &= 0x0f;
|
r &= 0x0f;
|
||||||
if (r == 0x08) {
|
if (r == 0x08) {
|
||||||
o_probe = 2; // SH1106
|
o_probe = 2; // SH1106
|
||||||
} else if ( r == 0x06 || r == 0x07) {
|
} else if ( r == 0x03 || r == 0x06 || r == 0x07) {
|
||||||
o_probe = 1; // SSD1306
|
o_probe = 1; // SSD1306
|
||||||
}
|
}
|
||||||
DEBUG_MSG("0x%x subtype probed\n", r);
|
DEBUG_MSG("0x%x subtype probed\n", r);
|
||||||
|
Loading…
Reference in New Issue
Block a user