mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-03 19:29:57 +00:00
daf8594b99
Work towards separating out how Screen interacts with other stuff. * `Screen` should now be thread-safe. All commands to it are put in a queue and handled in `doTask` from the `loop()` task. * Break dependency from `BluetoothUtil` to `Screen` by changing the pairing request into a callback. * All accesses to screen now happen through the class. * Fix `drawRows` so that the text scrolls along with frame animations. * Remove example code that wasn't used.
12 lines
201 B
C
12 lines
201 B
C
#pragma once
|
|
|
|
#include "screen.h"
|
|
|
|
extern bool axp192_found;
|
|
extern bool ssd1306_found;
|
|
extern bool isCharging;
|
|
extern bool isUSBPowered;
|
|
|
|
// Global Screen singleton.
|
|
extern meshtastic::Screen screen;
|