Add TAK Tracker role behavior (#3233)

* Proto

* Standalone TAK Tracker

* Add log

* Make TAK_Tracker behave like Tracker
This commit is contained in:
Ben Meadors
2024-02-16 20:04:21 -06:00
committed by GitHub
parent 1bacd8641d
commit 998013aff3
5 changed files with 70 additions and 5 deletions

View File

@@ -246,6 +246,7 @@ void PowerFSM_setup()
{
bool isRouter = (config.device.role == meshtastic_Config_DeviceConfig_Role_ROUTER ? 1 : 0);
bool isTrackerOrSensor = config.device.role == meshtastic_Config_DeviceConfig_Role_TRACKER ||
config.device.role == meshtastic_Config_DeviceConfig_Role_TAK_TRACKER ||
config.device.role == meshtastic_Config_DeviceConfig_Role_SENSOR;
bool hasPower = isPowered();