mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-29 17:55:25 -04:00
Remove now unused payload variant settings in allocAtakPli function
This commit is contained in:
1 parent
e2fda6598c
commit
1971e5ab13
1 file changed
-2
@@ -332,8 +332,6 @@ meshtastic_MeshPacket *PositionModule::allocAtakPli()
|
||||
takPacket.geo_src = meshtastic_GeoPointSource_GeoPointSource_GPS;
|
||||
takPacket.alt_src = meshtastic_GeoPointSource_GeoPointSource_GPS;
|
||||
}
|
||||
takPacket.which_payload_variant = meshtastic_TAKPacketV2_pli_tag;
|
||||
takPacket.payload_variant.pli = true;
|
||||
|
||||
// Callsign - stored as plain string (no compression, apps handle that)
|
||||
strncpy(takPacket.callsign, owner.long_name, sizeof(takPacket.callsign) - 1);
|
||||
|
||||
Reference in new issue
Block a user