mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-02 18:59:56 +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;
|
||||
if (r == 0x08) {
|
||||
o_probe = 2; // SH1106
|
||||
} else if ( r == 0x06 || r == 0x07) {
|
||||
} else if ( r == 0x03 || r == 0x06 || r == 0x07) {
|
||||
o_probe = 1; // SSD1306
|
||||
}
|
||||
DEBUG_MSG("0x%x subtype probed\n", r);
|
||||
@ -77,4 +77,4 @@ void scanI2Cdevice(void)
|
||||
}
|
||||
#else
|
||||
void scanI2Cdevice(void) {}
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user