rule of thumb, last minute changes are dumb.

pull/3020/head
Thomas Göttgens 2023-12-17 16:10:26 +01:00
rodzic add78a459b
commit c5a2dc758f
2 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -13,8 +13,7 @@ void NullFunc(){};
PaxcounterModule::PaxcounterModule()
: concurrency::OSThread("PaxcounterModule"),
ProtobufModule("paxcounter", meshtastic_PortNum_PAXCOUNTER_APP, &meshtastic_Paxcount_msg),
ProtobufModule("paxcounter", meshtastic_PortNum_PAXCOUNTER_APP, &meshtastic_Paxcount_msg)
{
}

Wyświetl plik

@ -18,7 +18,7 @@ class PaxcounterModule : private concurrency::OSThread, public ProtobufModule<me
PaxcounterModule();
protected:
struct count_payload_t count_from_libpax;
struct count_payload_t count_from_libpax = {0, 0, 0};
virtual int32_t runOnce() override;
bool sendInfo(NodeNum dest = NODENUM_BROADCAST);
virtual bool handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshtastic_Paxcount *p) override;