sforkowany z mirror/meshtastic-firmware
Change PortNum for RangeTest
rodzic
7475c8647c
commit
f0df864f86
|
@ -29,7 +29,7 @@ class RangeTestModuleRadio : public SinglePortModule
|
|||
uint32_t lastRxID = 0;
|
||||
|
||||
public:
|
||||
RangeTestModuleRadio() : SinglePortModule("RangeTestModuleRadio", meshtastic_PortNum_TEXT_MESSAGE_APP)
|
||||
RangeTestModuleRadio() : SinglePortModule("RangeTestModuleRadio", meshtastic_PortNum_RANGE_TEST_APP)
|
||||
{
|
||||
loopbackOk = true; // Allow locally generated messages to loop back to the client
|
||||
}
|
||||
|
@ -53,4 +53,4 @@ class RangeTestModuleRadio : public SinglePortModule
|
|||
virtual ProcessMessage handleReceived(const meshtastic_MeshPacket &mp) override;
|
||||
};
|
||||
|
||||
extern RangeTestModuleRadio *rangeTestModuleRadio;
|
||||
extern RangeTestModuleRadio *rangeTestModuleRadio;
|
Ładowanie…
Reference in New Issue