update to latest protobufs

This commit is contained in:
Kevin Hester
2021-02-08 12:29:40 +08:00
parent 122dabefb0
commit 486a3444fc
2 changed files with 2 additions and 2 deletions

View File

@@ -1015,7 +1015,7 @@ class MeshService : Service(), Logging {
val proto =
MeshProtos.FromRadio.parseFrom(bytes)
// info("Received from radio service: ${proto.toOneLineString()}")
when (proto.variantCase.number) {
when (proto.payloadVariantCase.number) {
MeshProtos.FromRadio.PACKET_FIELD_NUMBER -> handleReceivedMeshPacket(
proto.packet
)