Send device telemetry to phone every minute (#1784)

This commit is contained in:
Ben Meadors
2022-10-11 10:21:30 -05:00
committed by GitHub
parent b2c3b405b1
commit 434db4347b
5 changed files with 27 additions and 17 deletions

View File

@@ -18,6 +18,9 @@ class SinglePortModule : public MeshModule
SinglePortModule(const char *_name, PortNum _ourPortNum) : MeshModule(_name), ourPortNum(_ourPortNum) {}
protected:
uint32_t max_channel_util_percent = 40;
uint32_t polite_channel_util_percent = 25;
/**
* @return true if you want to receive the specified portnum
*/