mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 17:42:48 +00:00
oled screen probably works now on nrf52
This commit is contained in:
parent
ffe95f62ab
commit
fbd12e1929
@ -47,13 +47,8 @@ AXP20X_Class axp;
|
|||||||
bool pmu_irq = false;
|
bool pmu_irq = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Global Screen singleton
|
// We always create a screen object, but we only init it if we find the hardware
|
||||||
#ifdef I2C_SDA
|
|
||||||
meshtastic::Screen screen(SSD1306_ADDRESS, I2C_SDA, I2C_SCL);
|
|
||||||
#else
|
|
||||||
// Fake values for pins to keep build happy, we won't ever initialize it.
|
|
||||||
meshtastic::Screen screen(SSD1306_ADDRESS);
|
meshtastic::Screen screen(SSD1306_ADDRESS);
|
||||||
#endif
|
|
||||||
|
|
||||||
// Global power status singleton
|
// Global power status singleton
|
||||||
static meshtastic::PowerStatus powerStatus;
|
static meshtastic::PowerStatus powerStatus;
|
||||||
|
Loading…
Reference in New Issue
Block a user