kopia lustrzana https://github.com/meshtastic/firmware
rule of thumb, last minute changes are dumb.
rodzic
add78a459b
commit
c5a2dc758f
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue