split query of paxcounter data from sending funcionality; don't cummulate (count mode != 1); use flag to signal changed count data
This commit is contained in:
committed by
Thomas Göttgens
co-authored by
Thomas Göttgens
parent
d1a25947e3
commit
fb4faf790b
@@ -13,10 +13,13 @@
|
||||
class PaxcounterModule : private concurrency::OSThread, public ProtobufModule<meshtastic_Paxcount>
|
||||
{
|
||||
bool firstTime = true;
|
||||
bool reportedDataSent = true;
|
||||
|
||||
public:
|
||||
PaxcounterModule();
|
||||
|
||||
static void handlePaxCounterReportRequest();
|
||||
|
||||
protected:
|
||||
struct count_payload_t count_from_libpax = {0, 0, 0};
|
||||
virtual int32_t runOnce() override;
|
||||
|
||||
Reference in New Issue
Block a user