Allow Portduino to set the TCP port

This commit is contained in:
GUVWAF
2022-10-01 12:02:29 +02:00
parent 31dc37150b
commit 2696b04138
3 changed files with 35 additions and 1 deletions

View File

@@ -20,6 +20,8 @@ extern bool isUSBPowered;
extern uint8_t nodeTelemetrySensorsMap[TelemetrySensorType_LPS22+1];
extern int TCPPort; // set by Portduino
// Global Screen singleton.
extern graphics::Screen *screen;
// extern Observable<meshtastic::PowerStatus> newPowerStatus; //TODO: move this to main-esp32.cpp somehow or a helper class