mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-26 03:37:38 +00:00
1 index channel index
This commit is contained in:
@@ -33,7 +33,6 @@ class SinglePortPlugin : public MeshPlugin
|
||||
// Update our local node info with our position (even if we don't decide to update anyone else)
|
||||
MeshPacket *p = router->allocForSending();
|
||||
p->decoded.portnum = ourPortNum;
|
||||
p->which_payloadVariant = MeshPacket_decoded_tag;
|
||||
|
||||
return p;
|
||||
}
|
||||
|
||||
@@ -49,8 +49,8 @@ bool AdminPlugin::handleReceivedProtobuf(const MeshPacket &mp, const AdminMessag
|
||||
break;
|
||||
|
||||
case AdminMessage_get_channel_request_tag:
|
||||
DEBUG_MSG("Client is getting channel %d\n", r->get_channel_request);
|
||||
handleGetChannel(mp, r->get_channel_request);
|
||||
DEBUG_MSG("Client is getting channel %d\n", r->get_channel_request - 1);
|
||||
handleGetChannel(mp, r->get_channel_request - 1);
|
||||
break;
|
||||
|
||||
case AdminMessage_get_radio_request_tag:
|
||||
|
||||
Reference in New Issue
Block a user