mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-27 10:21:40 +00:00
Actually restrict remote hardware to gpio channel (#4717)
This commit is contained in:
parent
8893529653
commit
3a10a27851
@ -47,6 +47,8 @@ RemoteHardwareModule::RemoteHardwareModule()
|
|||||||
: ProtobufModule("remotehardware", meshtastic_PortNum_REMOTE_HARDWARE_APP, &meshtastic_HardwareMessage_msg),
|
: ProtobufModule("remotehardware", meshtastic_PortNum_REMOTE_HARDWARE_APP, &meshtastic_HardwareMessage_msg),
|
||||||
concurrency::OSThread("RemoteHardwareModule")
|
concurrency::OSThread("RemoteHardwareModule")
|
||||||
{
|
{
|
||||||
|
// restrict to the gpio channel for rx
|
||||||
|
boundChannel = Channels::gpioChannel;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RemoteHardwareModule::handleReceivedProtobuf(const meshtastic_MeshPacket &req, meshtastic_HardwareMessage *pptr)
|
bool RemoteHardwareModule::handleReceivedProtobuf(const meshtastic_MeshPacket &req, meshtastic_HardwareMessage *pptr)
|
||||||
|
Loading…
Reference in New Issue
Block a user